db/builder_test.go

11 lines
180 B
Go
Raw Permalink Normal View History

2023-07-30 19:12:56 +08:00
package db
import "testing"
func TestJoinSub(t *testing.T) {
b := NewBuilder(conn)
b.Grammar = &Sqlite3Grammar{}
t.Log(b.On("Select 1 as a, 2 as b", "t1", "true").ToSql())
}