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

Cover Most Popular and Advanced Query Features #86

Open
drveresh opened this issue Aug 16, 2024 · 0 comments
Open

Cover Most Popular and Advanced Query Features #86

drveresh opened this issue Aug 16, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@drveresh
Copy link

Documentation Area

Whenever applicable

Current Documentation Link

https://docs.sqlitecloud.io/docs/edge-functions

Description of Changes

Please cover the most popular and advanced examples of queries, or else the end users end up wasting an enormous amount of time and effort guessing its solutions. The current set of documents contains very rudimentary examples (SELECT query by integer ID) which are often less useful, because most applications required more advanced queries, like having multiple conditions,

Rationale

Adding the most common and advanced examples will help end users to quickly apply it in the product and speed up the development.

Examples and Code Snippets

[1]. The below line fails if >1 value is in the IN query, especially if string values like ('JP','DE')
result = await connection.sqlSELECT * FROM products WHERE country IN (${values}) LIMIT 6;
[2]. Below one is failing if the query is formed outside that connection.sql context:
result = await connection.sql${myQuery};

Additional Context and Relevant Repos

  1. The overall documentation is poor
  2. The Live logs are not getting latest logs quickly, sometimes loading indefinitely
@drveresh drveresh added the documentation Improvements or additions to documentation label Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant