Skip to content
This repository has been archived by the owner on Jun 2, 2024. It is now read-only.

call to "Query::class" methods directly #48

Merged
merged 5 commits into from
Feb 23, 2019
Merged

Conversation

faryar76
Copy link
Contributor

@faryar76 faryar76 commented Feb 22, 2019

new ability added to database for call query methods directly. for this __call added in to "database.php" :
for ex:
$database->query()->where('name','foo')->result(); //working
also
$database->where('name','foo')->result(); //working

and some other refactors
;)

@timothymarois
Copy link
Member

I like it! Simplifies querying. I'll push this in the next update. Thanks!

@timothymarois timothymarois merged commit c2d4174 into tmarois:1.0 Feb 23, 2019
@timothymarois
Copy link
Member

@faryar76 This has been merged and I'm planning to set a new version release up in a few, since its backward compatible, we'll just make this a minor version 1.0.22. I have also updated the readme to reflect the new query access (since its a lot cleaner this way)

This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants