File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -663,10 +663,10 @@ export class Client {
663
663
const text = query . text ;
664
664
const values = query . values || [ ] ;
665
665
const options = query . options ;
666
- const format = options ? options . format : undefined ;
667
- const types = options ? options . types : undefined ;
668
- const streams = options ? options . streams : undefined ;
669
- const portal = ( options ? options . portal : undefined ) || '' ;
666
+ const format = options ? .format ;
667
+ const types = options ? .types ;
668
+ const streams = options ? .streams ;
669
+ const portal = options ? .portal || '' ;
670
670
const result = makeResult < T > ( ) ;
671
671
672
672
const descriptionHandler = ( description : RowDescription ) => {
@@ -679,7 +679,7 @@ export class Client {
679
679
} ;
680
680
681
681
if ( values && values . length ) {
682
- const name = ( options ? options . name : undefined ) || (
682
+ const name = ( options ? .name ) || (
683
683
( this . config . preparedStatementPrefix ||
684
684
defaults . preparedStatementPrefix ) + (
685
685
this . nextPreparedStatementId ++
You can’t perform that action at this time.
0 commit comments