0

According to the docs, all functions that are not mutations should be included in the SQL syntax. I have a MySQL integration in MBI, but when I try to test some basic SQL functions such as JSON_EXTRACT() in the SQL terminal, the query errors out.

For example:

SELECT '{"a":1, "b":"stringdata"}'::json AS json

will work both in a regular MySQL terminal and MBI SQL builder

However,

SELECT JSON_EXTRACT('{"a":1, "b":"stringdata"}', "$.b")

Will work in a regular MySQL terminal but not in MBI SQL builder.

How does one get around these discrepancies and is there a definitive list of functions supported by MBI?

asked May 25, 2022 at 18:59

1 Answer 1

0

This works!

SELECT '{"a":1, "b":"stringdata"}'::json->'b'
answered May 25, 2022 at 19:13

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.