-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
is it support insert delete update operate? #23
Comments
Hi, could you please reformat/rephrase your question? Maybe tell me what you expect to see in the output? I can only guess: If you |
@jvail `
` |
I think the Hope that helps. |
@jvail |
@jvail
` |
In the browser all databases live in memory. The only way to persist your changes is by using |
@jvail |
Seems it is "solved". |
hello !
this is my code , not work and no error no info
is it support insert .etc operation or my config is error
const db = await spl .mount('proj', [ { name: 'proj.db', data: new URL('./proj.db', window.location.href).toString() } ]) .mount('data', [ { name: 'relic.gpkg', data: new URL('./r.gpkg?mode=rw', window.location.href).toString() } ]).db() .load('file:data/relic.gpkg?mode=rw') .read(
select enablegpkgmode();
select initspatialmetadata(1);
select PROJ_SetDatabasePath('/proj/proj.db'); -- set proj.db path
`);
db.exec('insert into relic(geom)values(GeomFromText('POINT(lon lat)',4326))').get
.....
`
The text was updated successfully, but these errors were encountered: