Adds SQLite support to the Vapor web framework.
import Vapor
import VaporSQLite
let drop = Droplet()
try drop.addProvider(VaporSQLite.Provider.self)Be sure to have a sqlite.json config file in your Config directory, the path is set relatively from the Droplet's working directory
{
"path": "/path/to/database.sqlite"
}let result = try drop.database?.driver.raw("SELECT sqlite_version()")
print(result)brew install sqlite3sudo apt-get update
sudo apt-get install sqlite3 libsqlite3-dev