mirror of
https://github.com/nextcloud/documentation.git
synced 2025-10-26 11:18:02 +00:00
Document datetime support for the Entity class
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
3c671b5b2f
commit
5e030decc1
@ -239,9 +239,13 @@ The following properties should be annotated by types, to not only assure that t
|
||||
|
||||
The following types can be added for a field:
|
||||
|
||||
* integer
|
||||
* float
|
||||
* boolean
|
||||
* ``integer``
|
||||
* ``float``
|
||||
* ``boolean``
|
||||
* ``string`` - For text and string columns
|
||||
* ``blob`` - For binary data or strings longer than
|
||||
* ``json`` - JSON data is automatically decoded on reading
|
||||
* ``datetime`` - Providing ``\DateTime()`` objects
|
||||
|
||||
Accessing attributes
|
||||
^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Loading…
Reference in New Issue
Block a user