File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,6 +27,23 @@ Harness.test({
2727 params : [ ]
2828} ) ;
2929
30+ Harness . test ( {
31+ query : userWithSchema . select ( userWithSchema . id . count ( ) ) . from ( userWithSchema ) ,
32+ pg : {
33+ text : 'SELECT COUNT("staging"."user"."id") AS "id_count" FROM "staging"."user"' ,
34+ string : 'SELECT COUNT("staging"."user"."id") AS "id_count" FROM "staging"."user"'
35+ } ,
36+ sqlite : {
37+ text : 'SELECT COUNT("staging"."user"."id") AS "id_count" FROM "staging"."user"' ,
38+ string : 'SELECT COUNT("staging"."user"."id") AS "id_count" FROM "staging"."user"'
39+ } ,
40+ mysql : {
41+ text : 'SELECT COUNT(`staging`.`user`.`id`) AS `id_count` FROM `staging`.`user`' ,
42+ string : 'SELECT COUNT(`staging`.`user`.`id`) AS `id_count` FROM `staging`.`user`'
43+ } ,
44+ params : [ ]
45+ } ) ;
46+
3047Harness . test ( {
3148 query : userWithSchema . select ( userWithSchema . id , userWithSchema . name ) . from ( userWithSchema ) ,
3249 pg : {
You can’t perform that action at this time.
0 commit comments