Add tests for Find functions
This commit is contained in:
@@ -21,7 +21,7 @@ enum class Op(val sql: String) {
|
||||
/** Compare existence in a list of values */
|
||||
IN("IN"),
|
||||
/** Compare overlap between an array and a list of values */
|
||||
IN_ARRAY("?|"),
|
||||
IN_ARRAY("??|"),
|
||||
/** Compare existence */
|
||||
EXISTS("IS NOT NULL"),
|
||||
/** Compare nonexistence */
|
||||
|
||||
@@ -86,6 +86,7 @@ object Parameters {
|
||||
|
||||
return try {
|
||||
replaceNamesInQuery(query, parameters)
|
||||
//.also(::println)
|
||||
.let { conn.prepareStatement(it) }
|
||||
.also { stmt ->
|
||||
replacements.sortedBy { it.first }
|
||||
|
||||
Reference in New Issue
Block a user