scala - How to do SQL "NOT LIKE" in Slick -


i'm quite new both scala , slick. "like" query easy make

query.filter(_.name "%kjelle%") 

but i'm not successful trying "not like" query. couldn't find notlike operator first thought try

query.filter(_.name !like "%kjelle%") 

or

query.filter(!(_.name "%kjelle%")) 

but no success.

how can in slick?

you can try use filternot:

query.filternot(_.name "%kjelle%") 

Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -