MCPcopy
hub / github.com/pocketbase/pocketbase / CreateTable

Method CreateTable

core/db_builder.go:75–77  ·  view source on GitHub ↗

CreateTable implements the [dbx.Builder.CreateTable] interface method.

(table string, cols map[string]string, options ...string)

Source from the content-addressed store, hash-verified

73
74// CreateTable implements the [dbx.Builder.CreateTable] interface method.
75func (b *dualDBBuilder) CreateTable(table string, cols map[string]string, options ...string) *dbx.Query {
76 return b.nonconcurrentDB.CreateTable(table, cols, options...)
77}
78
79// RenameTable implements the [dbx.Builder.RenameTable] interface method.
80func (b *dualDBBuilder) RenameTable(oldName, newName string) *dbx.Query {

Callers 2

createTestDBFunction · 0.80
SyncRecordTableSchemaMethod · 0.80

Calls

no outgoing calls

Tested by 1

createTestDBFunction · 0.64