Commit 3d88391
committed
Fuzzy match today and yesterday
In case of e.g. using now() or current_timestamp() in the query, it's
hard to determine the exact hour, minute and seconds of execution for
the comparison. In these cases, using a fuzzy matcher such as "sometime
today" should be enough to ensure that the query works as designed,
without adding too much overhead for e.g. mocking out core functions of
the database.1 parent 6e6bdee commit 3d88391
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
9 | 13 | | |
10 | 14 | | |
11 | 15 | | |
| |||
0 commit comments