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
Querying for Post.description currently gives an error saying there's no such column posts.author (which is true—there's only an posts.author_id).
Post.description
posts.author
posts.author_id
Post: { sqlTable: 'posts', uniqueKey: 'id', fields: { author: { sqlJoin: (postTable, userTable) => `${postTable}.author_id = ${userTable}.id` }, title: { sqlColumn: 'title' }, description: { sqlDeps: ['title', 'author'] },
Further, would be nice to be able to do sqlDeps: ['title', 'author.first_name', 'author.last_name']
sqlDeps: ['title', 'author.first_name', 'author.last_name']
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Querying for
Post.description
currently gives an error saying there's no such columnposts.author
(which is true—there's only anposts.author_id
).Further, would be nice to be able to do
sqlDeps: ['title', 'author.first_name', 'author.last_name']
The text was updated successfully, but these errors were encountered: