Twitter Feed

Xataface Maillist

Sign up to receive the Xataface news letter with weekly updates and development tips.

 
Found 135 of 135 records in table Wiki
Now Showing 111 of 135

Current Record: timestamp

timestamp

[Permalink]

Return to fields.ini file

A very simple sample of this could be your table contains the table date_created as a type of date. In your fields.ini, you would include this:

[date_created]
timestamp=insert
widget:type=hidden

The widget:type=hidden will make the field not visible during entry and editing. And the timestamp=insert causes the field to be filled upon insertion of a new record.

Possible Values

  • update - Causes timestamp to be updated whenever the record is modified.
  • insert - Causes the timestamp to be updated only when the record is first inserted.
blog comments powered by Disqus
Powered by Xataface
(c) 2005-2013 All rights reserved