-
Notifications
You must be signed in to change notification settings - Fork 74
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
Add TinyGo SQLite to the API guide #883
Conversation
content/spin/sqlite-api-guide.md
Outdated
|
||
**General Notes** | ||
|
||
A convince function `sqlite.Open()` is provided to create a database connection. Because the `http.Handle` function is inside the `init()` function the Spin SQLite driver cannot be initialized the same way as other drivers using [sql.Open](https://pkg.go.dev/database/sql#Open). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A convince function `sqlite.Open()` is provided to create a database connection. Because the `http.Handle` function is inside the `init()` function the Spin SQLite driver cannot be initialized the same way as other drivers using [sql.Open](https://pkg.go.dev/database/sql#Open). | |
A convenience function `sqlite.Open()` is provided to create a database connection. Because the `http.Handle` function is inside the `init()` function the Spin SQLite driver cannot be initialized the same way as other drivers using [sql.Open](https://pkg.go.dev/database/sql#Open). |
Almost had me convinced
529f667
to
5e678cc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@adamreese I just realized we also have a language support guide here in this repo (in addition to the README.md in fermyon/spin); would you mind updating this line as well? https://github.com/fermyon/developer/blob/main/content/spin/language-support-overview.md?plain=1#L88 |
Signed-off-by: Adam Reese <adam@reese.io>
5e678cc
to
22a48e9
Compare
TinyGo SQLite will be released in Spin 1.5