Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/queryBuilder/join/RelationJoiner.js
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ function getAllColumnSelectionsForNode({ builder, tableNode }) {

if (!tableMeta) {
throw new Error(
'table metadata has not been fetched. Are you trying to call toKnexQuery() for a withGraphJoined query? To make sure the table metadata is fetched see the objection.initialize function.'
`table metadata has not been fetched for table '${table}'. Are you trying to call toKnexQuery() for a withGraphJoined query? To make sure the table metadata is fetched see the objection.initialize function.`
);
}

Expand Down