MCPcopy
hub / github.com/writefreely/writefreely / TestDialect_Column

Function TestDialect_Column

db/create_test.go:8–13  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

6)
7
8func TestDialect_Column(t *testing.T) {
9 c1 := DialectSQLite.Column("foo", ColumnTypeBool, UnsetSize)
10 assert.Equal(t, DialectSQLite, c1.Dialect)
11 c2 := DialectMySQL.Column("foo", ColumnTypeBool, UnsetSize)
12 assert.Equal(t, DialectMySQL, c2.Dialect)
13}
14
15func TestColumnType_Format(t *testing.T) {
16 type args struct {

Callers

nothing calls this directly

Calls 1

ColumnMethod · 0.45

Tested by

no test coverage detected