MCPcopy
hub / github.com/pocketbase/pocketbase / HasTable

Method HasTable

core/app.go:221–221  ·  view source on GitHub ↗

HasTable checks if a table (or view) with the provided name exists (case insensitive). in the data.db.

(tableName string)

Source from the content-addressed store, hash-verified

219 // HasTable checks if a table (or view) with the provided name exists (case insensitive).
220 // in the data.db.
221 HasTable(tableName string) bool
222
223 // AuxHasTable checks if a table (or view) with the provided name exists (case insensitive)
224 // in the auxiliary.db.

Callers 8

TestCollectionDeleteFunction · 0.65
TestCollectionSaveModelFunction · 0.65
TestHasTableFunction · 0.65
checkUniqueNameMethod · 0.65
TestSQLRunFunction · 0.65
TestCollectionUpdateFunction · 0.65
initFunction · 0.65

Calls

no outgoing calls

Tested by 6

TestCollectionDeleteFunction · 0.52
TestCollectionSaveModelFunction · 0.52
TestHasTableFunction · 0.52
TestSQLRunFunction · 0.52
TestCollectionUpdateFunction · 0.52