Skip to content
Discussion options

You must be logged in to vote

because all query builder that operate on the database, i.e : where, select, etc, is directly operate on the PDO, if you ever use basic query builder using DB facade, that's why the signature is basic query builder.

now all "helpers" method such as when, scope is directly connected with eloquent, thus. eloquent builder is used.

note: since eloquent builder is also instance of basic query builder, all basic query method also implemented.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mowangjuanzi
Comment options

Answer selected by mowangjuanzi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants