Files
turso/testing
Pekka Enberg c6ef19396d Merge 'Add support for pragma table-valued functions' from Piotr Rżysko
This PR adds support for table-valued functions for PRAGMAs (see the
[PRAGMA functions section](https://www.sqlite.org/pragma.html)).
Additionally, it introduces built-in table-valued functions. I
considered using extensions for this, but there are several reasons in
favor of a dedicated mechanism:
* It simplifies the use of internal functions, structs, etc. For
example, when implementing `json_each` and `json_tree`, direct access to
internals was necessary:
https://github.com/tursodatabase/limbo/pull/1088
* It avoids FFI overhead. [Benchmarks](https://github.com/piotrrzysko/li
mbo/blob/pragma_vtabs_bench/core/benches/pragma_benchmarks.rs) on my
hardware show that `pragma_table_info()` implemented as an extension is
2.5× slower than the built-in version.

Reviewed-by: Jussi Saurio <jussi.saurio@gmail.com>

Closes #1642
2025-06-04 09:08:10 +03:00
..
2024-08-03 12:16:34 +03:00
2025-05-23 00:30:04 +08:00
2025-02-09 22:01:33 +04:00
2025-01-19 00:39:10 +05:30
2025-01-21 00:29:23 +05:30
2025-05-18 12:43:11 -03:00
2025-05-04 12:18:36 +03:00
2024-12-30 17:02:31 +05:30
2025-05-30 13:07:31 +02:00
2025-03-30 18:58:38 +03:00
2025-05-08 22:22:55 +08:00
2025-05-11 23:47:30 +08:00
2025-05-23 14:33:55 +03:00
2025-04-15 12:45:46 -03:00
2025-02-04 21:02:51 +05:30
2025-05-25 21:23:04 +03:00
2024-10-05 18:25:04 +03:00
2025-06-01 03:07:16 -03:00
2025-05-23 17:45:56 +08:00
2025-04-12 11:13:32 +03:00

Limbo Testing