Working towards user relationship tests passing.
This commit is contained in:
parent
941bd7a657
commit
1562e7b1f1
2 changed files with 3 additions and 2 deletions
|
@ -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 a new issue