0

I'm new in Laravel and I'm a little confused because some say that it's faster for the database access to use Query Builder instead of Eloquent ORM. Is there a difference from the access speed point of view, or are there some arguments that specify a method is better than the other? Or it's just a matter of what suits best your project. Thanks

1 Answer 1

1

Usually you won't notice much of an impact when working on local projects. It really depends on the size of your DB. Eloquent allows you to take advantage of Laravel's ActiveRecord implementation, which basically means that it's easier to update the model's timestamps and so forth.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.