vidigami / backbone-sql

PostgreSQL, MySQL, and SQLite3 storage for BackboneORM
http://vidigami.github.io/backbone-orm/backbone-sql.html
MIT License
14 stars 8 forks source link

Model::each / eachC fails with $include #7

Open forivall opened 10 years ago

forivall commented 10 years ago

I'll be writing a test case for this in the near future

The error returned is Error: column reference "id" is ambiguous model_each will need to be aware of joins and use the appropriate sort key, or sort will need to be aware of joins and automatically upgrade sort keys.