Working towards user relationship tests passing.
This commit is contained in:
parent
941bd7a657
commit
1562e7b1f1
|
@ -406,7 +406,7 @@ describe.each([
|
|||
])
|
||||
})
|
||||
|
||||
it("should parse the encoded js binding. Return rows with appointments 2 weeks in the past", async () => {
|
||||
it.only("should parse the encoded js binding. Return rows with appointments 2 weeks in the past", async () => {
|
||||
const jsBinding =
|
||||
"const currentTime = new Date()\ncurrentTime.setDate(currentTime.getDate()-14);\nreturn currentTime.toISOString();"
|
||||
const encodedBinding = encodeJSBinding(jsBinding)
|
||||
|
|
|
@ -272,7 +272,8 @@ class InternalBuilder {
|
|||
}
|
||||
statement +=
|
||||
(statement ? andOr : "") +
|
||||
`COALESCE(LOWER(${likeKey(this.client, key)}) LIKE ?, FALSE)`
|
||||
// `COALESCE(LOWER(${likeKey(this.client, key)}) LIKE ?, FALSE)`
|
||||
`LOWER(${likeKey(this.client, key)}) LIKE ?`
|
||||
}
|
||||
|
||||
if (statement === "") {
|
||||
|
|
Loading…
Reference in New Issue