File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -469,6 +469,21 @@ public function prepare_wheres_statement($wheres)
469469 return $ this ->db ;
470470 }
471471
472+ /**
473+ * Function apply_wheres
474+ *
475+ * @param $wheres
476+ *
477+ * @return bool|\CI_DB_query_builder|object
478+ * @author : 713uk13m <dev@nguyenanhung.com>
479+ * @copyright: 713uk13m <dev@nguyenanhung.com>
480+ * @time : 27/03/2023 07:52
481+ */
482+ public function apply_wheres ($ wheres )
483+ {
484+ return $ this ->prepare_wheres_statement ($ wheres );
485+ }
486+
472487 /**
473488 * Function prepare_wheres_not_statement
474489 *
@@ -502,6 +517,21 @@ public function prepare_wheres_not_statement($wheres)
502517 return $ this ->db ;
503518 }
504519
520+ /**
521+ * Function apply_not_wheres
522+ *
523+ * @param $wheres
524+ *
525+ * @return bool|\CI_DB_query_builder|object
526+ * @author : 713uk13m <dev@nguyenanhung.com>
527+ * @copyright: 713uk13m <dev@nguyenanhung.com>
528+ * @time : 27/03/2023 08:21
529+ */
530+ public function apply_not_wheres ($ wheres )
531+ {
532+ return $ this ->prepare_wheres_not_statement ($ wheres );
533+ }
534+
505535 /**
506536 * Function only_status_is_active
507537 *
You can’t perform that action at this time.
0 commit comments