mirror of
https://gitea.invidious.io/iv-org/shard-crystal-sqlite3.git
synced 2024-08-15 00:53:26 +00:00
update readme
This commit is contained in:
parent
fb0f5ea6d7
commit
c9b54c3da0
1 changed files with 3 additions and 4 deletions
|
@ -2,11 +2,11 @@
|
||||||
|
|
||||||
SQLite3 bindings for [Crystal](http://crystal-lang.org/).
|
SQLite3 bindings for [Crystal](http://crystal-lang.org/).
|
||||||
|
|
||||||
**This is a work in progress.**
|
Check [crystal-db](https://github.com/crystal-lang/crystal-db) for general db driver documentation. crystal-sqlite3 driver is registered under `sqlite3://` uri.
|
||||||
|
|
||||||
[Documentation](http://manastech.github.io/crystal-sqlite3/)
|
## Installation
|
||||||
|
|
||||||
### shard.yml
|
Add this to your application's `shard.yml`:
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -17,7 +17,6 @@ dependencies:
|
||||||
### Usage
|
### Usage
|
||||||
|
|
||||||
```crystal
|
```crystal
|
||||||
require "db"
|
|
||||||
require "sqlite3"
|
require "sqlite3"
|
||||||
|
|
||||||
DB.open "sqlite3://./data.db" do |db|
|
DB.open "sqlite3://./data.db" do |db|
|
||||||
|
|
Loading…
Reference in a new issue