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

python - Installing PyDev in eclipse is failed -

PHP OOP-based login system -

c# - Nested Internal Class with Readonly Hashtable throws Null ref exception.. on assignment -