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
Inside query-interface-views-support.js, on line 4, you have
const sql = DROP VIEW IF EXISTS "${viewName}"${options.cascade && ' CASCADE'};
DROP VIEW IF EXISTS "${viewName}"${options.cascade && ' CASCADE'}
That creates "DROP VIEW IF EXISTS someViewundefined"
It should be const sql = DROP VIEW IF EXISTS "${viewName}" ${options.cascade ? 'CASCADE': ''};
DROP VIEW IF EXISTS "${viewName}" ${options.cascade ? 'CASCADE': ''}
The text was updated successfully, but these errors were encountered:
Thanks @idahogurl. I'll fix it right now.
Sorry, something went wrong.
Adjust dropView method to append nothing if options.cascade is false (#2
d7be39d
). Thanks @idahogurl.
@idahogurl fix is in version 1.2.1.
Thanks!
No branches or pull requests
Inside query-interface-views-support.js, on line 4, you have
const sql =
DROP VIEW IF EXISTS "${viewName}"${options.cascade && ' CASCADE'}
;That creates "DROP VIEW IF EXISTS someViewundefined"
It should be
const sql =
DROP VIEW IF EXISTS "${viewName}" ${options.cascade ? 'CASCADE': ''}
;The text was updated successfully, but these errors were encountered: