We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d70586b commit 89e7c1aCopy full SHA for 89e7c1a
1 file changed
test/dialect-tests.js
@@ -160,6 +160,18 @@ test({
160
params: ['test']
161
});
162
163
+test({
164
+ query : post.update({content: 'test', userId: 3}),
165
+ pg : 'UPDATE post SET post.content = $1, post."userId" = $2',
166
+ params: ['test', 3]
167
+});
168
+
169
170
+ query : post.update({content: 'test', userId: 3}).where(post.content.equals('no')),
171
+ pg : 'UPDATE post SET post.content = $1, post."userId" = $2 WHERE (post.content = $3)',
172
+ params: ['test', 3, 'no']
173
174
175
console.log('IGNORE: parent queries');
176
var ignore = function() {
177
var parent = post.select(post.content);
0 commit comments