Skip to content

Joey92/rest-layer-sqlite3

Repository files navigation

REST Layer SQLite3 Backend

godoc license build

This REST Layer resource storage backend stores data in a SQLite3 database using database/sql and go-sqlite3.

Usage

This backend assumes that you have created the database schema in SQLite3 to match your REST API schema. For a reasonably complete example, look at example_test.go. To run the example, copy it to a new location, rename it to example.go, change the package name to main, and change the name of the Example function to main, finally, go run example.go.

Caveats

This backend does not currently implement the following features of the interface:

  • array fields
  • dict fields
  • $exists filter (not applicable to a DB with predefined schema)
  • field selection
  • field aliasing
  • embedding
  • field parameters

About

SQLite3 storage backend for rest-layer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages