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

Query builder #2

Open
dutchmartin opened this issue Oct 25, 2019 · 0 comments
Open

Query builder #2

dutchmartin opened this issue Oct 25, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@dutchmartin
Copy link
Owner

Currently, there is no way to fetch data from the database without writing SQL. Therefore we want to have a way to query more easily.
An idea for the api would be this:

let products = connection.select::<Product>().limit(10).orderAsc().await?

For complex query's, using SQL will be the preferred option, since a query builder can not provide all functions.

@dutchmartin dutchmartin added the enhancement New feature or request label Oct 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant