Javascript SQLite not working in m4l v9.0.7

Patrick Jordan's icon

Hi all,

I tried to open a database within javascript in a m4l device. I always get the error message

"v8: none: ReferenceError: SQLite is not defined, line 28".

Seeking up and down the internet, I can't find any mentions SQLite is not supported in m4l devices. Also I don't find any references, I need to use a require statement upfront.

Did someone make it work or has an indication it is not supported or broken?

Thanks

Rob Ramirez's icon

from the Max 9.1.0 release notes:

  • v8: initial implementation of SQLite / SQLResult

so you need 9.1, or you need to use js instead of v8

Patrick Jordan's icon

Thanks a lot for your help Rob. It did not come to my mind to look up the release notes of the latest release in order to find out. The old js object worked!

Thanks again and regards

Patrick