jago86's avatar
Level 19

Add automatically "collate nocase" to Sqlite queries

Is there any way for Eloquent to automatically add the COLLATE NOCASE to queries when the connection used is sqlite?

I'm having failures in my tests because I use slite in memory for testing and MySql for production and I noticed that sqlite is case sensitive by default for values comparisson.

0 likes
1 reply

Please or to participate in this conversation.