diff --git a/docs/site/Model.md b/docs/site/Model.md index 803ad0964fb5..6a9f711f2360 100644 --- a/docs/site/Model.md +++ b/docs/site/Model.md @@ -523,7 +523,18 @@ Here are general attributes for property definitions:
"uuidv4"
: generate a new universally unique identifier using the UUID version 4 algorithm.now"
: use the current date and time as returned by new Date()
defaultFn
is generated by LoopBack itself. If you'd like to use database built-in uuid
functions (MySQL or Postgres for example), please check the README file of the corresponding connector.
+ NOTES:
+ defaultFn
is generated by LoopBack itself. If you'd like to use database built-in uuid
functions (MySQL or Postgres for example), please check the README file of the corresponding connector.
+ generated
to true
incase of defaultFn
as generated
property indicates the value to be generated by the database not by Loopback.
+ required
to true
incase of defaultFn
as required
means the user needs to provide the field in the request always.
+