Skip to content

Commit

Permalink
new update
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueStorm001 committed Nov 6, 2021
1 parent 4b218e4 commit 8598c04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gsql_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func TestCount(t *testing.T) {
func TestSelect(t *testing.T) {
option := &options{Id: 1, Text: "test"}
orm := serve.NewStruct("table_options", option)
command, values := orm.SelectExclude("Id").Where("Id=?").OrderBy("id desc").Page(20, 1).GetSQL()
command, values := orm.Select("*").Where("Id=?", "Text=?").OrderBy("id desc").Page(20, 1).GetSQL()
t.Log("[", orm.Id, "]")
t.Log("[", command, "]")
for k, v := range values {
Expand Down

0 comments on commit 8598c04

Please sign in to comment.