Closed z4id closed 1 year ago
Hey @z4id were you able to figure this issue out? Experiencing this as well.
See the error I get below. Query: could not match actual sql:
SELECT * FROM "accounts" WHERE created_at > 1970-01-01 01:00:00 +0100 WAT AND "accounts"."deleted_at" IS NULL ORDER BY created_at DESC LIMIT 100
with expected regexp
SELECT * FROM "accounts" WHERE created_at > 1970-01-01 01:00:00 +0100 WAT AND "accounts"."deleted_at" IS NULL ORDER BY created_at DESC LIMIT 100
@z4id found a solution here in another issue.
Operating system and Go Version
Issue
Getting error "Query: could not match actual sql" even though both strings are identical. (compared via another tool)
P.S:: Same code is working on other systems. Not sure whether its related to different hardware architecture or OS.
Reproduction steps
SQL query is mocked like this:
Expected Result
There should be no error.
Actual Result