dependabot[bot] 5397b34f82 build(deps): bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-10 18:14:12 +00:00
2021-12-12 13:38:45 +01:00
2021-12-13 00:02:38 +01:00
2021-12-13 00:02:38 +01:00
2020-10-12 22:09:42 +03:00
2022-01-19 15:39:24 +01:00
2021-09-06 20:57:30 +02:00
2021-09-06 20:57:30 +02:00
2022-01-19 15:39:24 +01:00
2021-12-12 23:56:20 +01:00

Tests badge

go-sqlite

This is a pure-Go SQLite driver for Golang's native database/sql package.

This driver is based on pure-Go implementation of SQLite (https://gitlab.com/cznic/sqlite), and has SQLite embedded.

Usage

Example

package main

import (
	"database/sql"
	"log"

	_ "github.com/glebarez/go-sqlite"
)

func main() {
	// connect
	db, err := sql.Open("sqlite", ":memory:")
	if err != nil {
		log.Fatal(err)
	}

	// get SQLite version
	_ := db.QueryRow("select sqlite_version()")
}

Connection string examples

  • in-memory SQLite: ":memory:"
  • on-disk SQLite: "path/to/some.db"
  • Foreign-key constraint activation: ":memory:?_pragma=foreign_keys(1)"
Description
pure-Go SQLite driver for Go (SQLite embedded)
Readme BSD-3-Clause 103 MiB
Languages
Go 100%