Skip to content
New issue

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

SQL Server "Cannot read property '0' of undefined" when create #247

Closed
pawelpsiuch opened this issue Mar 30, 2020 · 1 comment
Closed

SQL Server "Cannot read property '0' of undefined" when create #247

pawelpsiuch opened this issue Mar 30, 2020 · 1 comment

Comments

@pawelpsiuch
Copy link

pawelpsiuch commented Mar 30, 2020

When working with mssql client, create throws this error:
Cannot read property '0' of undefined
This is caused by missing "mssql" option in line 228 of index.js

const returning = client === 'pg' || client === 'oracledb' ? [this.id] : [];
@Oumar24sh
Copy link
Contributor

#244 already fixed

@daffl daffl closed this as completed May 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants