Skip to content

Instantly share code, notes, and snippets.

@danfinlay
Created July 23, 2014 21:20
Show Gist options
  • Select an option

  • Save danfinlay/9bd633017866defe6be8 to your computer and use it in GitHub Desktop.

Select an option

Save danfinlay/9bd633017866defe6be8 to your computer and use it in GitHub Desktop.
Demonstrating the result I'm getting using Geddy's current association-value querying.
Team.all({'players.name': 'Daffy Duck'}
, {includes: ['Player']});
error: missing FROM-clause entry for table "Player#players"
at Connection.parseE (/this_project/node_modules/pg/lib/connection.js:561:11)
at Connection.parseMessage (/this_project/node_modules/pg/lib/connection.js:390:17)
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment