Skip to content
This repository was archived by the owner on Nov 22, 2018. It is now read-only.

[request]: Build dynamic query builder similar to sequel (rb) #198

@mguentner

Description

@mguentner

Currently statements need to be written and compiled for each request.
A query builder could help doing that by aggregating the values / parameters first and then compiling the statement.
I like the interface the Sequel project (ruby) has.

Here is a simple select with chained statements:

ds = DB[:posts]
result = ds.select(:id, :name).order(:name).where{id < 100}.all

http://sequel.jeremyevans.net/rdoc/files/doc/dataset_basics_rdoc.html
http://sequel.jeremyevans.net/documentation.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions