Closed hexus closed 7 years ago
It sounds like... :boom: :gun:
Queryable::query() is already taken for opening a new query builder. That's also how query() methods are used everywhere else in the API, so for consistency I don't feel like changing that.
Queryable::query()
query()
Alternatives:
->fetch()
->send()
->run()
->get()
Decided to go with run() because it's quite semantic:
run()
$storage->run($query);
Also renamed Query\Builder::execute(). Splendid.
It sounds like... :boom: :gun:
Queryable::query()
is already taken for opening a new query builder. That's also howquery()
methods are used everywhere else in the API, so for consistency I don't feel like changing that.Alternatives:
->fetch()
->send()
->run()
->get()