Add named parameters support

SQLite supports named parameters in either of these forms:
- $NAME
- :NAME
- @NAME

These parameters should be supplied to the query either in a form of a map
or as a list, the key is always iodata:
- #{":myparam" => "value"}
- [{"$myparam", 1}]
- [{text, "@myparam", "value"}]
This commit is contained in:
Dmitry Matveyev
2023-01-08 13:54:27 +06:00
parent c71ad3eb6b
commit 16580ce11d
5 changed files with 99 additions and 1 deletions

View File

@@ -10,3 +10,4 @@
Aleph Archives
Qing Liang <qing.liang.cn@gmail.com>
Dmitry Matveyev <public@greenfork.me>