Skip to content
/ go-ds-sql Public

An implementation of ipfs/go-datastore that can be backed by any SQL database.

License

Notifications You must be signed in to change notification settings

ipfs/go-ds-sql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SQL Datastore

An implementation of the datastore interface that can be backed by any sql database.

Usage

import (
	"database/sql"
	"github.com/ipfs/go-ds-sql"
)

mydb, _ := sql.Open("yourdb", "yourdbparameters")

ds := sqlds.NewSqlDatastore(mydb)

License

MIT

About

An implementation of ipfs/go-datastore that can be backed by any SQL database.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages