⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Bit data type



vikaskhairnar
  • profile picture
  • Member

Posted 02 October 2012 - 13:04 PM

Hello,

I have one field in my database as bit data type bit(1) which stores true/false. I want to apply order by query on that field how can I do that using grocery crud, I have used $this->grocery_crud->order_by('approved', 'desc'); but it didn't worked. please suggest.