-
Notifications
You must be signed in to change notification settings - Fork 80
Open
Description
I have a simple select statement with a condition having a column equaling to a Date instance. Please see the result. Does not seem like it's an expected behavior.
var date = new Date();
var result = jsonSql.build({
table: 'users',
condition: {
insertdate: date
}
});
// result.query: select * from "users" where "insertdate";
// result.values: []Of course, running this results in an error.
I tried to poke around in the code, but could not quite see where to handle this. Any suggestions/help are appreciated.
Metadata
Metadata
Assignees
Labels
No labels