sqlite_adapter
Version, currently 0.1.01 version
- 0.1.0latestNov 28, 2015
github.com/trapped/sqlite_adapter.cr
SQLite3 adapter for active_record.cr
5 stars
1 dependent
License: MIT
Installation
# Add this to your shard.yml
dependencies:
sqlite_adapter:
github: trapped/sqlite_adapter.cr
version: ~> 0.1.0Then run:
shards installshard.yml
- Crystal
- no constraint declared
- License
- MIT
- Author
- Giorgio Pellero
Dependencies
Runtime Dependencies
- sqlite3*github: manastech/crystal-sqlite3
- active_record*github: waterlink/active_record.cr
README
sqlite_adapter.cr 
SQLite3 adapter for active_record.cr. Uses crystal-sqlite3 as driver.
Installation
Add it to your shard.yml:
dependencies:
sqlite_adapter:
github: trapped/sqlite_adapter.cr
version: 0.1.0
Usage
By default ./data.db is used as storage. You can set SQLITE_DB in your ENV to override it (:memory: works too).
require "active_record"
require "sqlite_adapter"
class Person < ActiveRecord::Model
adapter sqlite
# ...
end
Running tests
After running crystal deps or crystal deps update:
git submodule init
git submodule update
make test
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.1.0- Tagged
- Nov 28, 2015
- Commit
d3d222f73e35- Indexed
- yes
Dependents
Repository
github.com/trapped/sqlite_adapter.cr
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 18, 2026
- Synced
- Aug 18, 2026
- Versions
- 1