Merge pull request #9315 from nextcloud/backport/9311/stable25

[stable25] Document datetime support for the Entity class
This commit is contained in:
Joas Schilling 2022-11-09 14:01:36 +01:00 committed by GitHub
commit cfdf9dca78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
^^^^^^^^^^^^^^^^^^^^