0
我無法在文檔中找到解決這個簡單問題的解決方案。使用DMZ DataMapper和CodeIgniter查詢日期範圍
我想從特定日期範圍內的數據庫中提取一組對象。 我在CodeIgniter環境中使用DMZ Datamapper。
$items = new Entity();
$items->where('date_created', 'date1 < x < date2');
$items->get();
也許你需要使用$ items-> where_in_func(...)方法嗎?