Note that there are some explanatory texts on larger screens.

plurals
  1. POHow do I perform mysql NOT IN operation in jquery datatables in codeigniter?
    primarykey
    data
    text
    <p>I want to do NOT IN operation or subquery on dataTables, but I'm able to configure how to actually perform such operation. Is it even possible to perform such operation?</p> <p>Here is my query : </p> <pre><code>-&gt;select("t_geocode.form_no,t_store.name ,CONCAT(t_store.address,'',t_location.address) AS locaddress,t_admin.username,t_geocode.creation_date,t_geocode.notes IS NOT NULL,t_geocode.latitude,t_geocode.longitude", FALSE) -&gt;from("t_geocode") -&gt;join("t_store", "t_store.form_no = t_geocode.form_no") -&gt;join("t_location", "t_location.id = t_store.area") -&gt;join("t_admin", "t_admin.user_id = t_geocode.created_by") -&gt;where("t_geocode.is_discarded", 0) -&gt;where("t_geocode.is_pending", 1) -&gt;where_not_in("t_geocode.form_no","t_store.form_no") -&gt;add_column("username", $usernameBar, 't_admin.username,t_geocode.creation_date,t_geocode.notes IS NOT NULL') -&gt;add_column("coordinates", $cordinateBar, 't_geocode.latitude,t_geocode.longitude') -&gt;add_column("actions", $actionLinkBar, 't_geocode.form_no') -&gt;unset_column("t_store.name") -&gt;unset_column("t_store.address") -&gt;unset_column("t_location.address") -&gt;unset_column("locaddress") -&gt;unset_column("t_admin.username") -&gt;unset_column("t_geocode.creation_date") -&gt;unset_column("t_geocode.notes IS NOT NULL") -&gt;unset_column("t_geocode.latitude") -&gt;unset_column("t_geocode.longitude"); </code></pre> <p>I need to perform NOT IN operation on t_geocode and t_store tables form_no field. Can someone help? </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload