11 lines
180 B
Go
11 lines
180 B
Go
|
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())
|
||
|
}
|