Anton Harniakou
0e4007c941
Fix contents of the NOT NULL error in tests
2025-06-06 12:59:58 +03:00
Anton Harniakou
a83ee73f20
Correct not null error message
2025-06-06 12:56:14 +03:00
Anton Harniakou
5cd0614ac2
Test INSERT INTO with SELECT and VALUES (...), (...) syntax
2025-06-06 11:43:33 +03:00
Anton Harniakou
32b6555c5d
Add tests for not null constraint
2025-06-06 10:55:49 +03:00
Anton Harniakou
5019379217
Use another syntax to implement the feature
2025-06-06 09:33:26 +03:00
Anton Harniakou
6f88505f90
Add tests
2025-06-06 09:32:25 +03:00
Anton Harniakou
c00ebe94c0
Implement Statement.source property for js/bindings
2025-06-06 09:28:20 +03:00
Anton Harniakou
d52c1461d5
Add tests
2025-06-06 08:55:08 +03:00
Diego Reis
f2f2432d39
bind/js: Adds contribution guide
2025-06-05 14:42:44 -03:00
Diego Reis
90e75ee70d
bind/js: Updates API docs
2025-06-05 14:42:44 -03:00
Diego Reis
a565b6b008
bind/js: Adds README
...
I'm assuming this will be the README on npmjs.com
2025-06-05 14:42:44 -03:00
Diego Reis
4c47e8c4dd
bind/js: Fix incompatible pluck mode
2025-06-05 14:42:44 -03:00
Diego Reis
9f00f84f5b
bind/js: Improve test suite to mirror behaviour
2025-06-05 14:42:42 -03:00
Diego Reis
48056e0941
bind/js: Refactor presentation modes to use an enum
2025-06-05 14:42:11 -03:00
Anton Harniakou
fb86476525
Implement basic not null constraint checks
2025-06-05 19:02:31 +03:00
Pekka Enberg
c7ec4a6270
Merge 'bindings/javascript: Add database property to Statement' from Anton Harniakou
...
Implements `.database` property on Statement object.
```js
let stmt = db.prepare("SELECT 1");
stmt.database == db // will return the database object the stmt was create with
```
Reviewed-by: Diego Reis (@el-yawd)
Closes #1671
2025-06-05 18:33:59 +03:00
Pekka Enberg
12876227c3
Limbo 0.0.22-pre.1
2025-06-05 18:26:33 +03:00
meteorgan
5da21fe275
add some tests for pragma cache_size
2025-06-05 17:17:21 +08:00
meteorgan
a242bac340
Fix: ensure PRAGMA cache_size changes persist only for current session
2025-06-05 16:55:41 +08:00
Anton Harniakou
90f34643c3
Implement .database property
2025-06-05 10:00:06 +03:00
Anton Harniakou
1adaa927e6
Add tests
2025-06-05 09:59:20 +03:00
Anton Harniakou
f78bc1efe5
Support sqlite_master schema table name
2025-06-04 18:32:51 +03:00
pedrocarlo
3c1b984b78
use table_references for PlanContext
2025-06-04 12:06:43 -03:00
pedrocarlo
22d1a1eaa8
fix blob printing
2025-06-04 12:06:43 -03:00
pedrocarlo
ebee9516ba
clippy
2025-06-04 12:06:43 -03:00
pedrocarlo
5f379fe2d6
when no context is needed use Display Impl
2025-06-04 12:06:43 -03:00
pedrocarlo
bfc8cb6d4c
move display and to_sql_string impls to separate modules for plan
2025-06-04 12:06:43 -03:00
pedrocarlo
f90bebbfbc
small fix and remove dbg
2025-06-04 12:06:43 -03:00
pedrocarlo
fa0dff9843
Fix rebase changes
2025-06-04 12:06:43 -03:00
pedrocarlo
a96577529e
impl ToSqlString for Update Plan
2025-06-04 12:06:43 -03:00
pedrocarlo
d243d1015c
impl ToSqlString for Delete Plan
2025-06-04 12:06:43 -03:00
pedrocarlo
ff5aa17769
impl ToSqlString for CompoundSelect Plan
2025-06-04 12:06:43 -03:00
pedrocarlo
51014d01c3
impl ToSqlString for SelectPlan
2025-06-04 12:06:43 -03:00
pedrocarlo
6773dca595
impl ToSqlString for VACUUM stmt + tests
2025-06-04 12:06:43 -03:00
pedrocarlo
d86ff4dea3
impl ToSqlString for UPDATE stmt + tests
2025-06-04 12:06:42 -03:00
pedrocarlo
659ef8fcf7
impl ToSqlString for REINDEX, RELEASE, ROLLBACK, SAVEPOINT stmt + tests
2025-06-04 12:06:42 -03:00
pedrocarlo
e9cbd29dd1
impl ToSqlString for PRAGMA stmt + tests
2025-06-04 12:06:42 -03:00
pedrocarlo
260a26d612
impl ToSqlString for INSERT stmt + tests
2025-06-04 12:06:42 -03:00
pedrocarlo
5710976d95
impl ToSqlString for DROP INDEX, TABLE, TRIGGER, and VIEW stmt
2025-06-04 12:06:42 -03:00
pedrocarlo
8ff0a3c780
impl ToSqlString for DETACH stmt
2025-06-04 12:06:42 -03:00
pedrocarlo
0dc5ca668c
test for DELETE + fixes
2025-06-04 12:06:42 -03:00
pedrocarlo
3b1da29b50
impl ToSqlString for DELETE stmt
2025-06-04 12:06:42 -03:00
pedrocarlo
6ba6fae2c6
CREATE VIRTUAL TABLE tests
2025-06-04 12:06:42 -03:00
pedrocarlo
c8f9e29262
impl ToSqlString for CREATE VIRTUAL TABLE stmt + fixes
2025-06-04 12:06:42 -03:00
pedrocarlo
563ab2fdf3
impl ToSqlString for CREATE VIEW stmt + tests
2025-06-04 12:06:42 -03:00
pedrocarlo
87b9540b4a
test for create trigger + fixes
2025-06-04 12:06:42 -03:00
pedrocarlo
a22d06cd66
impl ToSqlString for CREATE TRIGGER stmt
2025-06-04 12:06:42 -03:00
pedrocarlo
ba215c8ba9
test for create table + fixes
2025-06-04 12:06:42 -03:00
pedrocarlo
8a7cc7669d
impl ToSqlString for CREATE TABLE stmt
2025-06-04 12:06:42 -03:00
pedrocarlo
a8f5257240
impl ToSqlString for CREATE INDEX stmt
2025-06-04 12:06:42 -03:00