Added support for query parameters

This commit is contained in:
Pijus Kamandulis
2024-02-16 00:13:11 +02:00
parent f183f308fb
commit 03623e5a82
9 changed files with 222 additions and 91 deletions

View File

@@ -14,6 +14,7 @@ const (
ConstantTypeInteger
ConstantTypeFloat
ConstantTypeBoolean
ConstantTypeParameterConstant
)
type SelectItemType int
@@ -29,6 +30,7 @@ type SelectStmt struct {
Table Table
Filters interface{}
Count int
Parameters map[string]interface{}
}
type Table struct {