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

Add QueryBuilder with fluent API #21

Open
h4cc opened this issue Jul 9, 2015 · 1 comment
Open

Add QueryBuilder with fluent API #21

h4cc opened this issue Jul 9, 2015 · 1 comment

Comments

@h4cc
Copy link
Contributor

h4cc commented Jul 9, 2015

How about a QueryBuilder that could enable stuff like this?

        $result = $this->database->query()
            ->design('users')
            ->view('user-by-username')
            ->key($username)
            ->includeDocs(true)
            ->execute();

I already have something to start from :)

@Baachi
Copy link
Owner

Baachi commented Jul 11, 2015

I already thought about that, its a really cool feature but it needs a lot of work to have a completly and perfect query builder.
But it is on my todo list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants