support named params in Select API (#4142)

* adds support for named arguments in select

* changes clause identifies and adds test
This commit is contained in:
Ratan Phayade
2021-03-07 08:29:00 +05:30
committed by GitHub
parent bc347758e5
commit a3abb5fedf
3 changed files with 15 additions and 4 deletions
+3 -3
View File
@@ -62,9 +62,9 @@ func (c Clause) Build(builder Builder) {
}
const (
PrimaryKey string = "@@@py@@@" // primary key
CurrentTable string = "@@@ct@@@" // current table
Associations string = "@@@as@@@" // associations
PrimaryKey string = "~~~py~~~" // primary key
CurrentTable string = "~~~ct~~~" // current table
Associations string = "~~~as~~~" // associations
)
var (