Skip to content

comma separated when object has more than one key in where clause, it should be 'and' separated #7

@aminabedi

Description

@aminabedi

in line 166:
sql += (sql.length === 0 ? '' : ', ') + SqlString.escapeId(key) + ' = ' + SqlString.escape(val, true, timeZone);
should be:
sql += (sql.length === 0 ? '' : 'and ') + SqlString.escapeId(key) + ' = ' + SqlString.escape(val, true, timeZone);

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions