You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
checkquerycompare(test, sql("SELECT id, name, description, created, updated, completed FROM tasks AS t WHERE id = ? AND name != ? AND updated > ? AND completed IS ? AND description LIKE ? "))
checkquerycompare(test, sql("SELECT id, ids_array FROM tasks AS t WHERE id = ? AND ? = ANY(ids_array) "))
@@ -113,7 +113,7 @@ suite "test sqlSelectConst":
113
113
tableAs ="t",
114
114
select = ["id", "ids_array"],
115
115
where = ["id =", "= ANY(ids_array)", "= ANY(user_array)", "= ANY(tasks_array)"],
116
-
joinargs = [noJoin],
116
+
joinargs = [],
117
117
useDeleteMarker =false
118
118
)
119
119
checkquerycompare(test, sql("SELECT id, ids_array FROM tasks AS t WHERE id = ? AND ? = ANY(ids_array) AND ? = ANY(user_array) AND ? = ANY(tasks_array) "))
@@ -129,7 +129,7 @@ suite "test sqlSelectConst":
129
129
tableAs ="t",
130
130
select = ["id", "ids_array"],
131
131
where = ["id =", "IN (ids_array)"],
132
-
joinargs = [noJoin],
132
+
joinargs = [],
133
133
useDeleteMarker =false
134
134
)
135
135
checkquerycompare(test, sql("SELECT id, ids_array FROM tasks AS t WHERE id = ? AND ? IN (ids_array) "))
@@ -141,7 +141,7 @@ suite "test sqlSelectConst":
141
141
tableAs ="t",
142
142
select = ["id", "ids_array"],
143
143
where = ["id =", "id IN"],
144
-
joinargs = [noJoin],
144
+
joinargs = [],
145
145
useDeleteMarker =false
146
146
)
147
147
checkquerycompare(test, sql("SELECT id, ids_array FROM tasks AS t WHERE id = ? AND id IN (?) "))
where = ["id =", "name != NULL", "description = NULL"],
160
-
joinargs = [noJoin],
160
+
joinargs = [],
161
161
useDeleteMarker =false
162
162
)
163
163
checkquerycompare(test, sql("SELECT id, name, description, created, updated, completed FROM tasks AS t WHERE id = ? AND name != NULL AND description = NULL "))
where = ["id =", "name !=", "description = NULL"],
172
-
joinargs = [noJoin],
172
+
joinargs = [],
173
173
useDeleteMarker =false
174
174
)
175
175
checkquerycompare(test, sql("SELECT id, name, description, created, updated, completed FROM tasks AS t WHERE id = ? AND name != ? AND description = NULL "))
@@ -297,7 +297,7 @@ suite "test sqlSelectConst - joins":
0 commit comments