Object-Oriented PHP5 Data Mapper ORM

Column types determine how your data will be saved, handled, and validated. As of right now, the default column types are:

  • string – Defaults to 255 characters
  • text – Text column
  • int / integer – Defaults to a length of 10
  • bool / boolean – Accepts true, false, 1 or 0. Stored as a tinyint(1) for MySQL since there is no true boolean type
  • float /double – For floating-point (decemal) numbers
  • date – Date only – Y-m-d for MySQL Adapter
  • datetime – Date and time – Y-m-d H:i:s for MySQL Adapter