From c8e9a37e65c1b16de4e5490b5c492b0de2673b2c Mon Sep 17 00:00:00 2001 From: Mesut GENEZ Date: Fri, 18 Oct 2024 12:21:11 +0300 Subject: [PATCH] example --- example/main.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/example/main.go b/example/main.go index 67e5769..00bbf05 100644 --- a/example/main.go +++ b/example/main.go @@ -72,7 +72,5 @@ func main() { subBuilder.Table("users").Select("id").Where("age", ">", 30) mainBuilder.Table("orders").Select("order_id", "user_id").Where("user_id", "IN", subBuilder) - fmt.Println(mainBuilder.ToSql()) - // SELECT order_id, user_id FROM orders WHERE user_id IN (SELECT id FROM users WHERE age > '30') - + fmt.Printf("SubQuery: \n%s\n\n", mainBuilder.ToSql()) }