mirror of
https://github.com/HeyPuter/puter
synced 2024-11-14 22:06:00 +00:00
Avoid predicate.values not iterable error
This commit is contained in:
parent
809e33b053
commit
2125367683
@ -94,7 +94,7 @@ class SQLES extends BaseES {
|
||||
}
|
||||
|
||||
const values = [];
|
||||
if ( predicate ) values.push(...predicate.values);
|
||||
if ( predicate ) values.push(...(predicate.values || []));
|
||||
|
||||
if ( this.debug ) {
|
||||
this.log.info('-> SQL STMT', { stmt, values });
|
||||
|
Loading…
Reference in New Issue
Block a user