OCLOperators sqlLike

In SQL databases you have the Like operator. In Ocl we added this same functionality as sqlLike

SqlLike works both in OCL and in OCL-PS

SqlLike enables you to match part of strings like this:

Person.allinstances->select(a|a.Identity.sqlLike('%'+vSeekParam+'%'))->orderby(identity)

Add a % to say that "could be anything here"

This page was edited 96 days ago on 02/10/2024. What links here