i am currently trying to execute the following SQL statement in ballerina.io against a MariaDB.
Plan SQL:
select * FROM testDB where test LIKE '%BA%';
I get a result set with all data.
ballerina.io:
var selectRet = testDB->select("select * FROM testDB where test LIKE '%?%'", testREC, "BA");
I get an empty result set.
versions:
ballerina --version
jBallerina 1.1.2
Language specification 2019R3
Ballerina tool 0.8.0
Is it possible to make a SQL statement with LIKE in ballerina.io?
Many greetings, Martin