Files
turso/cli
Glauber Costa 57a1113460 make readonly a property of the database
There's no such thing as a read-only connection.
In a normal connection, you can have many attached databases. Some
r/o, some r/w.

To properly fix that, we also need to fix the OpenWrite opcode. Right
now we are passing a name, which is the name of the table. That
parameter is not used anywhere. That is also not what the SQLite opcode
specifies. Same as OpenRead, the p3 register should be the database
index.

With that change, we can - for now - pass the index 0, which is all
we support anyway, and then use that to test if we are r/o.
2025-07-22 09:41:32 -05:00
..
2025-07-21 08:49:35 -05:00
2025-05-17 15:51:17 -03:00
2025-03-06 15:52:20 -03:00
2025-07-17 15:05:29 -05:00
2025-07-21 08:49:35 -05:00
2025-07-17 15:05:29 -05:00
2025-07-18 11:26:10 -03:00
2024-07-08 22:43:11 +05:30
2025-03-06 16:33:23 -03:00