No you should use eloquent or query builder when possible. Because it wraps the result in a Model object, which gives you nice methods to work with. Use Eloquent for simple crud. Query builder when you have more conditions in your SQL statement. Use raw only if you need to. You'll lose pagination methods for example
Обсуждают сегодня