Skip to content

Commit 4f02255

Browse files
authored
Update user_guide_src/source/models/entities.rst
1 parent d91ae4f commit 4f02255

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

user_guide_src/source/models/entities.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ You can specify that properties in your Entity should be converted to common dat
330330
This option should be an array where the key is the name of the class property, and the value is the data type it
331331
should be cast to. Casting only affects when values are read. No conversions happen that affect the permanent value in
332332
either the entity or the database. Properties can be cast to any of the following data types:
333-
**integer**, **float**, **double**, **string**, **boolean**, **object**, **array**, **datetime**, **timestamp**, and **URI**.
333+
**integer**, **float**, **double**, **string**, **boolean**, **object**, **array**, **datetime**, **timestamp**, and **uri**.
334334
Add a question mark at the beginning of type to mark property as nullable, i.e., **?string**, **?integer**.
335335

336336
For example, if you had a User entity with an **is_banned** property, you can cast it as a boolean::

0 commit comments

Comments
 (0)