I am unable to use LIKE operator with prepared statements, ex:
let result = await this.vertica.getPool().query({
name: 'getByCallId',
text: 'SELECT * FROM test_calls WHERE call_id LIKE ?,
values: [ '%b452657-f7cf-123b-849c-288023acae0%' ] // Tried to see if removing start and end char works
});
Expected:
As in the SQL editor to retrieve results
I am unable to use LIKE operator with prepared statements, ex:
Expected: As in the SQL editor to retrieve results
Actual: No results
Versions Node v16.19.0 Vertica 11