Using my SQL scripts in data schema expression
Hello, I would like to use this function:

In the data schema declaration like this:
<attribute expr="GetEmailPreDomain('prefix@xxx.xxx')" label="x" name="x"
type="string"/>
So its value is "prefix"
How can I do this?
Thank you in advance.