Options
All
  • Public
  • Public/Protected
  • All
Menu

LapisDB

Index

Type aliases

AllowedFlags

AllowedFlags: FilterFlags<T>[keyof T]

FilterFlags

FilterFlags: object

Type declaration

IComparator

IComparator: function

Comparator function. Takes two inputs.

Type declaration

    • (first: T, second: T): number
    • Parameters

      • first: T
      • second: T

      Returns number

IEdit

IEdit: object

In a nutshell, this type returns the T without functions and metadata fields. Useful when setting the fields to edit in the object. All of the fields in this type are optional.

Type declaration

IFilter

IFilter: object

In a nutshell, this type returns the T without functions. Useful for removing functions from Model, and leaving only the value fields.

Type declaration

IObjectFields

IObjectFields: object

In a nutshell, this type returns the T without functions and metadata fields. Useful when setting the fields to edit in the object. All of the fields in this type are optional.

Type declaration

ISort

ISort: object

Instructions on how to sort an object T. All of the fields of this object are optional.

Usage

See more at GetOperation.sort

Type declaration

Variables

Let testStore

testStore: Datastore<Planet> = null

Functions

Unique

  • Unique(): (Anonymous function)

Const testCreateRandomPlanets

  • testCreateRandomPlanets(push?: boolean): Promise<Planet[]>

Generated using TypeDoc