-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Description
Just updated from v 4.0.0 to 7.0.0 and I get this error when running an sql query.
var res = await utils.sql('SELECT VERSION() as v');
Error: Multiple matches found constructing 'SqlResponse' with oneOf schemas Object, [Object]. Input: [{"columns":[{"v":{"type":"string"}}],"data":[{"v":"7.4.6 b2ff82920@25022808"}],"total":1,"error":"","warning":""}]
what changes do I have to make to my sql queries for this to work? I checked the docs and I can't see what I've done wrong.
https://github.com/manticoresoftware/manticoresearch-javascript/blob/master/docs/UtilsApi.md#sql
Metadata
Metadata
Assignees
Labels
No labels