Back to Pocketbase

Function syncRecordTableSchema

static/jsvm/functions/_app.syncRecordTableSchema.html

latest901 B
Original Source

Function syncRecordTableSchema

  • syncRecordTableSchema(newCollection, oldCollection): void

SyncRecordTableSchema compares the two provided collections and applies the necessary related record table changes.

If oldCollection is null, then only newCollection is used to create the record table.

This method is automatically invoked as part of a collection create/update/delete operation.

Parameters

newCollection: core.Collection
oldCollection: core.Collection

Returns void

Settings

Member Visibility

  • Inherited

Theme

OSLightDark

Generated using TypeDoc