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
4.1.1
None
No response
TypeError: Cannot read properties of undefined (reading '_primaryColumns') ❯ primaryKeyFilter ../src/table/newPrimaryKeyFilter.js:2:29 ❯ createCompositeFilter ../src/getManyDto.js:220:36 ❯ createOneFilter ../src/getManyDto.js:217:10
const map = orange.map(x => ({ compositeOrder: x.table('compositeOrder').map(({ column }) => ({ companyId: column('companyId').string().primary().notNullExceptInsert(), orderNo: column('orderNo').numeric().primary().notNullExceptInsert(), })), compositeOrderLine: x.table('compositeOrderLine').map(({ column }) => ({ companyId: column('companyId').string().primary().notNullExceptInsert(), orderNo: column('orderNo').numeric().primary().notNullExceptInsert(), lineNo: column('lineNo').numeric().primary().notNullExceptInsert(), product: column('product').string(), })) })).map(x => ({ compositeOrder: x.compositeOrder.map(({ hasMany }) => ({ lines: hasMany(x.compositeOrderLine).by('companyId', 'orderNo') })) })); export default map;
The text was updated successfully, but these errors were encountered:
fixes #106
665fe3e
639e516
No branches or pull requests
orange Version
4.1.1
Database
None
Database Version
No response
Operating System
No response
Description
TypeError: Cannot read properties of undefined (reading '_primaryColumns')
❯ primaryKeyFilter ../src/table/newPrimaryKeyFilter.js:2:29
❯ createCompositeFilter ../src/getManyDto.js:220:36
❯ createOneFilter ../src/getManyDto.js:217:10
Expected Behavior
No response
The text was updated successfully, but these errors were encountered: