MCPcopy Create free account
hub / github.com/cloudwan/gohan / RegisterTable

Method RegisterTable

db/db.go:44–44  ·  view source on GitHub ↗
(s *schema.Schema, cascade, migrate bool)

Source from the content-addressed store, hash-verified

42 Begin() (transaction.Transaction, error)
43 BeginTx(ctx context.Context, options *transaction.TxOptions) (transaction.Transaction, error)
44 RegisterTable(s *schema.Schema, cascade, migrate bool) error
45 DropTable(*schema.Schema) error
46
47 // options

Callers 2

InitDBConnWithSchemasFunction · 0.65
db_test.goFile · 0.65

Implementers 4

DBdb/sql/sql.go
MockDBdb/mocks/db.go
MockDBMockRecorderdb/mocks/db.go
DBdb/file/file.go

Calls

no outgoing calls

Tested by

no test coverage detected