mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-27 13:04:20 +01:00
This PR implements the `json_tree` table-valued function. It's not 100% compatible with SQLite, because SQLite does some iffy things with the `key` and `path` columns. I started a [thread](https://www.sqlite.org/forum/forumpost/48f5763d8c) on their forum and I linked it to the disabled tests in `json.test`. Reviewed-by: Preston Thorpe <preston@turso.tech> Closes #3256
Turso Testing
Testing Extensions
When adding tests for extensions, please follow these guidelines:
- Tests that verify the internal logic or behavior of a particular extension should go into
cli_tests/extensions.py. - Tests that verify how extensions interact with the database engine, such as virtual table handling, should be written
in TCL (see
vtab.testas an example).
To check which extensions are available in TCL, or to add a new one, refer to the tester.tcl file and look at the extension_map.