models/note

Note model for MongoDB using Mongoose. Defines the schema and virtual references for notes.
Description:
  • Note model for MongoDB using Mongoose. Defines the schema and virtual references for notes.
Source:

Methods

(static) noteSchema(fields, options)

Description:
  • chordSchema - Mongoose schema for notes.
Source:
Properties:
Name Type Description
fields._id String Custom ID for the note.
fields.name Object Name of the note in different languages.
fields.type String Type of the note.
options._id boolean Cancel automatic generation of "_id" field.
Parameters:
Name Type Description
fields Object Options for the schema.
options Object Options for the schema.