Comments (1)
After more consideration - sqlite3_value
supports a quite narrow set of types, and they can be naturally mapped to WebAssembly types:
INTEGER <-> i64
DOUBLE <-> f64
TEXT, BLOB, NULL <-> a pointer (i32)
Blobs would likely either require one extra layer of indirection, passing a single blob parameter as two WebAssembly parameters - pointer and size, or encoding its size in the first 4 bytes of data. Extra layer of indirection sounds more in line with the C ABI mentioned above. Then, a blob would be passed as a pointer to a structure {p, s}
, where p
is a pointer to blob's actual data and s
is the blob's size.
from libsql.
Related Issues (20)
- ALTER COLUMN breaks if it contains a new line at the end
- `.dump` fails if the request is sent to replica HOT 1
- Support for Accessing SQLite DB Stored in Turso from Java HOT 1
- Extension loading support in libSQL server
- sqlite "ConstraintViolation" reported as a "PROXY_ERROR" HOT 4
- Rows written with `INSERT OR IGNORE` still read/writing HOT 1
- Setting `legacy_alter_table` works in shell but not in sqld HOT 3
- Error while creating index for vector database table HOT 2
- Optimize IFNULL with indexes
- Use `WAL` as default everywhere HOT 5
- Either support or reject BEGIN READONLY in hrana on the server
- Unable to run on `oven/bun:distroless` docker image HOT 4
- Feature Request: Expose `sync_interval` parameter in libsql's C bindings
- Import fails when there are multiline statements in the dump HOT 1
- Bug with schema migration when tasks status do not reflect the job status
- Group tokens with attach permissions lose broader read/write permissions
- Switch to using `gosu` in `docker-entrypoint.sh`? HOT 1
- Schema migrations fail when run on a client connected to a replica HOT 3
- Sqlean version out-of-date in Turso HOT 5
- ERROR libsql::replication: replicator sync | database disk image is malformed HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libsql.