gnolang / hackerspace

Tinker, build, explore Gno - without the monorepo!
11 stars 8 forks source link

database/sql driver #50

Open moul opened 11 months ago

moul commented 11 months ago

It would be enjoyable to have a database/SQL interface compatible with low-level types for creating optimized libraries. One possible solution is an AVL ORM, as suggested in this link: https://github.com/gnolang/gno/issues/1467.

@ajnavarro, since you worked on an SQL server for Git, do you have any feedback?

In the future, it might be beneficial to have a native stdlib type that supports a small SQLite by default, like import "database/sqlite"; var db sqlite.New(). However, before considering this, let's explore the possibilities with pure Go.

ajnavarro commented 11 months ago

compatible with low-level types for creating optimized libraries.

@moul WDYM with that? could you give us some examples? thanks!