Will Brady
Will Brady
This is probably related: If I have a model with two properties that are hasMany's to a second model, including both properties screws things up (but only including one works...
The issue is here https://github.com/nearinfinity/node-persist/blob/master/lib/sqltree.js#L146-L148 It checks if the column belongs to that model. But when you you're including something that's the same model both copies of the field will...
I can do rawSql but would like to be able to throw in the date object as a value in the where clause