sprattus icon indicating copy to clipboard operation
sprattus copied to clipboard

Query builder

Open dutchmartin opened this issue 4 years ago • 0 comments

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 avatar Oct 25 '19 12:10 dutchmartin