Using functions in selects with DataMapper OZ |
[eluser]WanWizard[/eluser]
See the manual on how to deal with functions in Datamapper: Code: $n->select("id,headline,dk")->select_func("DATE_FORMAT", array('@date', '[,]', "'%e %M %Y'"), 'date')->order_by('date', 'desc')->get(); |
Messages In This Thread |
Using functions in selects with DataMapper OZ - by El Forum - 11-29-2010, 10:22 AM
Using functions in selects with DataMapper OZ - by El Forum - 11-29-2010, 10:39 AM
Using functions in selects with DataMapper OZ - by El Forum - 11-29-2010, 10:49 AM
Using functions in selects with DataMapper OZ - by El Forum - 11-29-2010, 11:00 AM
Using functions in selects with DataMapper OZ - by El Forum - 11-29-2010, 12:23 PM
Using functions in selects with DataMapper OZ - by El Forum - 11-29-2010, 03:33 PM
Using functions in selects with DataMapper OZ - by El Forum - 11-29-2010, 04:04 PM
|