Commit Graph

19 Commits

Author SHA1 Message Date
Mikaël Francoeur
cf13911839 support more params format and iterable 2025-07-17 09:46:15 -04:00
Mikaël Francoeur
093140d84c throw on empty statement 2025-07-14 15:28:07 -04:00
Mikaël Francoeur
99614a3c7c support open property 2025-07-14 14:03:57 -04:00
Mikaël Francoeur
2a691f5044 make some errors compatible with better-sqlite3 2025-07-08 11:36:23 -04:00
Mikaël Francoeur
50d542b719 expose wrapper and use default import 2025-07-03 15:19:03 -04:00
Forato
772ba761e6 bindings/javascript: implement readonly functionality 2025-06-25 18:36:52 +03:00
Anton Harniakou
8afb07803c Fix typo 2025-06-09 10:43:43 +03:00
Anton Harniakou
2ffeb87c85 Pass options from wrapper 2025-06-09 10:43:43 +03:00
Jussi Saurio
94e334a44a Merge 'bindings/javascript: Add source property to Statement' from Anton Harniakou
Let's you get the source string that was used to create the prepared
statement.

Reviewed-by: Diego Reis (@el-yawd)

Closes #1670
2025-06-09 08:24:47 +03:00
Jussi Saurio
0e552e3f23 Merge 'js-bindings/implement .name property' from Anton Harniakou
Returns the string that was used to open the database connection.

Reviewed-by: Diego Reis (@el-yawd)

Closes #1662
2025-06-09 08:21:26 +03:00
Anton Harniakou
5019379217 Use another syntax to implement the feature 2025-06-06 09:33:26 +03:00
Anton Harniakou
c00ebe94c0 Implement Statement.source property for js/bindings 2025-06-06 09:28:20 +03:00
Anton Harniakou
90f34643c3 Implement .database property 2025-06-05 10:00:06 +03:00
Anton Harniakou
45fe13f226 Implement .name property 2025-06-04 13:00:13 +03:00
Diego Reis
799f4149c5 bind/js: Add bind method 2025-05-26 16:52:48 -03:00
Diego Reis
7dc69c9c39 bindings/js: Add extension loading 2025-05-26 12:25:43 -03:00
Diego Reis
60b78b3566 bind/js: Partially implements pragma
Some pragmas may return more than one value, which would
break the current logic. So this cause should be handled in the future
2025-05-25 15:56:28 -03:00
Diego Reis
376adbb10a bind/js: Add support to variadic functions 2025-05-25 12:22:46 -03:00
Diego Reis
e463def54d wip: first wrapper version 2025-05-25 12:22:46 -03:00