File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ function Postgres(a, b) {
8383
8484 return sql
8585
86- function Sql ( handler , instant ) {
86+ function Sql ( handler ) {
8787 handler . debug = options . debug
8888
8989 Object . entries ( options . types ) . reduce ( ( acc , [ name , type ] ) => {
@@ -112,7 +112,6 @@ function Postgres(a, b) {
112112 : typeof strings === 'string' && ! args . length
113113 ? new Identifier ( options . transform . column . to ? options . transform . column . to ( strings ) : strings )
114114 : new Builder ( strings , args )
115- instant && query instanceof Query && query . execute ( )
116115 return query
117116 }
118117
@@ -123,7 +122,6 @@ function Postgres(a, b) {
123122 ...options ,
124123 simple : 'simple' in options ? options . simple : args . length === 0
125124 } )
126- instant && query . execute ( )
127125 return query
128126 }
129127
@@ -141,7 +139,6 @@ function Postgres(a, b) {
141139 ...options ,
142140 simple : 'simple' in options ? options . simple : args . length === 0
143141 } )
144- instant && query . execute ( )
145142 return query
146143 }
147144 }
You can’t perform that action at this time.
0 commit comments