Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ICollection<T, P>

Type parameters

Hierarchy

  • ICollection

Implemented by

Index

Properties

create

create: function

Type declaration

    • (entity: T): Promise<T | null>
    • Parameters

      • entity: T

      Returns Promise<T | null>

doc

doc: function

Type declaration

find

find: function

Type declaration

get

get: function

Type declaration

    • (id: string): Promise<T | null>
    • Parameters

      • id: string

      Returns Promise<T | null>

native

native: CollectionReference

Optional parent

parent: IDocumentRef<P> | null

path

path: string

query

query: function

Type declaration

remove

remove: function

Type declaration

    • (id: string): Promise<void>
    • Parameters

      • id: string

      Returns Promise<void>

update

update: function

Type declaration

    • (entity: T): Promise<T | null>
    • Parameters

      • entity: T

      Returns Promise<T | null>

Generated using TypeDoc