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

DB documentation, execute example code results in error #244

Merged
merged 1 commit into from
Aug 21, 2023

Conversation

Pizt0lmnk
Copy link
Contributor

In the documentation part of DB (https://deno.land/x/[email protected]/mod.ts?s=DB) the code segment for execute shows double quotes in the SQLite example statement (https://deno.land/x/[email protected]/mod.ts?s=DB#method_execute_0).

INSERT INTO people (name, age, city) VALUES ("Peter Parker", 21, "nyc");

This will not compile in SQLite as strings require a single quote.

@dyedgreen
Copy link
Owner

Good catch! Thanks for the PR 😊

@dyedgreen dyedgreen merged commit 86d43a3 into dyedgreen:master Aug 21, 2023
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

Successfully merging this pull request may close these issues.

2 participants