Skip to content

xpol/sqlite3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sqlite3

GoDoc Tesst Go Report Card codecov Gitter chat

SQLite3 adapter for REL.

Example

package main

import (
	"context"

	_ "github.com/mattn/go-sqlite3"
	"github.com/go-rel/mssql"
	"github.com/go-rel/rel"
)

func main() {
	// open sqlite3 connection.
	adapter, err := sqlite3.Open("dev.db")
	if err != nil {
		panic(err)
	}
	defer adapter.Close()

	// initialize rel's repo.
	repo := rel.New(adapter)
	repo.Ping(context.TODO())
}

Supported Driver

  • github.com/mattn/go-sqlite3

About

SQLite3 adapter for REL written in Golang.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Go 100.0%