You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For Go applications, you must use the TinyGo compiler, as the standard Go compiler does not yet support the WASI standard. See the [TinyGo installation guide](https://tinygo.org/getting-started/install/).
127
+
For Go applications, you must use Go 1.25.5 or above, and you must have this line in `go.mod`:
128
128
129
-
The build command calls TinyGo with the WASI backend and appropriate options:
129
+
```
130
+
tool github.com/bytecodealliance/componentize-go
131
+
```
132
+
133
+
The build command calls the `componentize-go` tool:
Spin creates any database files that don't exist. However, it is up to you to delete them when you no longer need them.
394
398
399
+
By default, filesystem databases may not use the `ATTACH` statement with persistent files. You can enable this using the `allow_attach_file` setting:
400
+
401
+
```toml
402
+
[sqlite_database.i-haz-the-datas]
403
+
type = "spin"
404
+
path = "snaffles.db"
405
+
allow_attach_file = true
406
+
```
407
+
408
+
`ATTACH`-ing a memory or tempfile database is always allowed.
409
+
395
410
### LibSQL Storage Provider
396
411
397
412
Spin can also use [libSQL](https://libsql.org/) databases accessed over HTTPS. libSQL is fully compatible with SQLite but provides additional features including remote, distributed databases.
0 commit comments