Back to Pocketbase

Function findAllCollections

static/jsvm/functions/_app.findAllCollections.html

latest831 B
Original Source

Function findAllCollections

FindCollections finds all collections by the given type(s).

If collectionTypes is not set, it returns all collections.

Example:

app.FindAllCollections() // all collections app.FindAllCollections("auth", "view") // only auth and view collectionsCopy

Parameters

Rest ...collectionTypes: string[]

Returns core.Collection[]

Settings

Member Visibility

  • Inherited

Theme

OSLightDark

Generated using TypeDoc