MCPcopy Create free account
hub / github.com/mattn/go-sqlite3 / Create

Method Create

sqlite3_opt_vtable_test.go:518–524  ·  view source on GitHub ↗
(c *SQLiteConn, args []string)

Source from the content-addressed store, hash-verified

516func (m testModuleEponymousOnly) EponymousOnlyModule() {}
517
518func (m testModuleEponymousOnly) Create(c *SQLiteConn, args []string) (VTab, error) {
519 err := c.DeclareVTab("CREATE TABLE x(test INT)")
520 if err != nil {
521 return nil, err
522 }
523 return &testVTabEponymousOnly{m.intarray}, nil
524}
525
526func (m testModuleEponymousOnly) Connect(c *SQLiteConn, args []string) (VTab, error) {
527 return m.Create(c, args)

Callers 1

ConnectMethod · 0.95

Calls 1

DeclareVTabMethod · 0.80

Tested by

no test coverage detected