Back to Pocketbase

Interface newCollection

static/jsvm/interfaces/core.newCollection.html

latest813 B
Original Source

Interface newCollection

Hierarchy

NewCollection initializes and returns a new Collection model with the specified type and name.

It also loads the minimal default configuration for the collection (eg. system fields, indexes, type specific options, etc.).

Parameters

typ: string
name: string
Rest ...optId: string[]

Returns core.Collection

Settings

Member Visibility

  • Inherited

Theme

OSLightDark

Generated using TypeDoc