File tree 1 file changed +1
-4
lines changed
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) {
83
83
84
84
return sql
85
85
86
- function Sql ( handler , instant ) {
86
+ function Sql ( handler ) {
87
87
handler . debug = options . debug
88
88
89
89
Object . entries ( options . types ) . reduce ( ( acc , [ name , type ] ) => {
@@ -112,7 +112,6 @@ function Postgres(a, b) {
112
112
: typeof strings === 'string' && ! args . length
113
113
? new Identifier ( options . transform . column . to ? options . transform . column . to ( strings ) : strings )
114
114
: new Builder ( strings , args )
115
- instant && query instanceof Query && query . execute ( )
116
115
return query
117
116
}
118
117
@@ -123,7 +122,6 @@ function Postgres(a, b) {
123
122
...options ,
124
123
simple : 'simple' in options ? options . simple : args . length === 0
125
124
} )
126
- instant && query . execute ( )
127
125
return query
128
126
}
129
127
@@ -141,7 +139,6 @@ function Postgres(a, b) {
141
139
...options ,
142
140
simple : 'simple' in options ? options . simple : args . length === 0
143
141
} )
144
- instant && query . execute ( )
145
142
return query
146
143
}
147
144
}
You can’t perform that action at this time.
0 commit comments