Make sails mysql case sensitive

39 views
Skip to first unread message

dario frongillo

unread,
Dec 11, 2016, 2:57:57 AM12/11/16
to sails.js
there is a way to configure waterline in sails to make query case sensitive ? In this moment i can do onlycase-insensitive search and these are too slow because index is not used
i try to use the following solution

mysqlAdapter: {
adapter: 'sails-mysql',
host: 'localhost',
user: 'root',
password: 'tecreply',
database: 'sailsApi',
wlNext: {
caseSensitive: true
}
}
but if i try to use the metod Find on my model i see that is still not case sensitive... someone can help me ?

Reply all
Reply to author
Forward
0 new messages