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
Currently, the query() function is at the module level and expects the database handle as the first parameter.
query()
function query(db Database, query: string, ...args: any[]): Row[]; interface Database { exec(query: string, ...args: any[]): Result; close(): void; }
The query() function should be a member function of the database handle object, similarly to the exec() function.
exec()
interface Database { exec(query: string, ...args: any[]): Result; query(query: string, ...args: any[]): Row[]; close(): void; }
The text was updated successfully, but these errors were encountered:
szkiba
Successfully merging a pull request may close this issue.
Currently, the
query()
function is at the module level and expects the database handle as the first parameter.The
query()
function should be a member function of the database handle object, similarly to theexec()
function.The text was updated successfully, but these errors were encountered: