![]() ![]() In my tests I forgot to add an index so the there was no difference. Thanks I was actually of investigating this after someone asked me about performance and that's completely true. And we can still use a scope for that to make it easier to use (we'll also make it accept either a Carbon instance or a string) : So all in all, my final recommendation is to stick with Carbon to get the start and end of day. So in order for it to work you'd have to also use PDO's emulated prepared statements which is not the recommended way. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |