Is it possible to accomplish something similar to this in an editor server fields instance after fields are declared and joined:
WHERE contact_id BETWEEN 100 AND 200;
This question has an accepted answers - jump to answer
Yes - the documentation here discusses how complex queries such as this can be used.
Allan
Wow this is new stuff. I did not know all this cool stuff existed, including file upload. Thank you.
Yup - added that documentation for the 1.4.1 release. Nice to have it down formally!
so I am playing around and tried:
$data ->where( 'application_submitted_date', ":date_end",'<=' ) ->bind( ':date_end', $_POST['report_submitted_date_end'] );
but i am getting a Call to undefined method DataTables\Editor::bind(), even after updating my php server files.
is there a way to get bind to work when working in a simple queries?
What is $data - is that the Query instance in the closure callback? From the error I assume not. bind is a Query method so you need to use the closure code style discussed in the documentation.
$data
Query
bind
It looks like you're new here. If you want to get involved, click one of these buttons!
Answers
Yes - the documentation here discusses how complex queries such as this can be used.
Allan
Wow this is new stuff. I did not know all this cool stuff existed, including file upload. Thank you.
Yup - added that documentation for the 1.4.1 release. Nice to have it down formally!
Allan
so I am playing around and tried:
but i am getting a Call to undefined method DataTables\Editor::bind(), even after updating my php server files.
is there a way to get bind to work when working in a simple queries?
What is
$data
- is that theQuery
instance in the closure callback? From the error I assume not.bind
is aQuery
method so you need to use the closure code style discussed in the documentation.Allan