MCPcopy Index your code
hub / github.com/writefreely/writefreely / Table

Method Table

db/dialect.go:23–32  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

21}
22
23func (d DialectType) Table(name string) *CreateTableSqlBuilder {
24 switch d {
25 case DialectSQLite:
26 return &CreateTableSqlBuilder{Dialect: DialectSQLite, Name: name}
27 case DialectMySQL:
28 return &CreateTableSqlBuilder{Dialect: DialectMySQL, Name: name}
29 default:
30 panic(fmt.Sprintf("unexpected dialect: %d", d))
31 }
32}
33
34func (d DialectType) AlterTable(name string) *AlterTableSqlBuilder {
35 switch d {

Callers 2

oauthFunction · 0.80

Calls

no outgoing calls

Tested by 1