Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 82401

Can I use OQL in any place other than with the reporting widget in the modeler?

$
0
0

I am trying to see if I can use OQL in any place other than with the reporting widget in the modeler, for example is it possible to use it in an activity in a microflow?    I would like to query a database using OQL because there is a particular operator (LIKE) that I would like to use to compare strings.  Right now, I am trying to use some string functions calls such as ‘contain’ to compare strings to each other.   I think there would be an advantage to using the LIKE operator because I can use it to compare a value to similar values using a wildcard operator.   By using the contain function call, I am trying to determine whether a substring occurs in another string which is not exactly what I would like to do, I really would like to compare a string to see if it is similar to another string.  Do I have to use the reporting widget in order to query a database or is there a function call in Mendix that serves the same function as the LIKE operator in OQL?


Viewing all articles
Browse latest Browse all 82401

Trending Articles