Skip to main content
Version: 3.0 Alpha

Create

The create series of APIs are used to create new records in the database. It has the following methods:

  • create Create a single record, optionally with nested relations.
  • createMany Create multiple records in a single operation. Nested relations are not supported. Only the number of records created is returned.
  • createManyAndReturn Similar to createMany, but returns the created records.

Samples​

create.ts
Loading...
Comments
Feel free to ask questions, give feedback, or report issues.

Don't Spam


You can edit/delete your comments by going directly to the discussion, clicking on the 'comments' link below