I have a database that I want to pull only certain rows that have dates in specified ranges. I\'m not sure how to do this properly in active record. Right now it looks like
To use the "Between" by respecting the Query builder of CI:
$this->db->where("order_datetime BETWEEN '2018-10-01' AND '2018-10-3'","", FALSE);