We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
db.Spectrum.findAll({ include: [ { model: db.Varietal, include : [ { model : db.Wine } ] } ], where: { '$Varietals.Wines.restaurant_id$': restaurant_id, '$Varietals.Wines.owner_id$': null }, group : ['specID'] });
This query should produce a where statement that looks like
WHERE `Varietals.Wines`.`restaurant_id` = 16
but instead produces
WHERE `Varietals`.`Wines`.`restaurant_id` = 16
Which gives an invalid column error.
The text was updated successfully, but these errors were encountered:
It was intended this way, but i'm not sure why, maybe schemas
Sorry, something went wrong.
b5bec0c
mickhansen
No branches or pull requests
This query should produce a where statement that looks like
but instead produces
Which gives an invalid column error.
The text was updated successfully, but these errors were encountered: