Skip to content

go-rel/sqlite3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 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/sqlite3"
	"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.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

 
 
 

Contributors

Languages