⚠ 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

Automatic field_type() depending on Mysql field type



tazoony
  • profile picture
  • Member

Posted 21 November 2013 - 22:50 PM

Hi there !

 

I'm getting started with grocery crud library. Good job ! I really enjoy using it.

 

I'me looking for a way to automatically configure fields types, depending on Mysql fields configuration without using grocery models (because I'm already using Datamapper models).

I tried to understand how do grocery libraries work, but I can't :( 

 

Is there any method I can call to apply automatic fields types ?

 

 

Thanks a lot ! :-) 

 

Regards.

 

Joffrey