CouchDB icon indicating copy to clipboard operation
CouchDB copied to clipboard

Add QueryBuilder with fluent API

Open h4cc opened this issue 9 years ago • 1 comments

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 :)

h4cc avatar Jul 09 '15 07:07 h4cc

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.

Baachi avatar Jul 11 '15 07:07 Baachi