mirror of
https://gitea.invidious.io/iv-org/shard-crystal-sqlite3.git
synced 2024-08-15 00:53:26 +00:00
27 lines
404 B
Markdown
27 lines
404 B
Markdown
# crystal-sqlite3
|
|
|
|
SQLite3 bindings for [Crystal](http://crystal-lang.org/).
|
|
|
|
**This is a work in progress.**
|
|
|
|
[Documentation](http://manastech.github.io/crystal-sqlite3/)
|
|
|
|
### Projectfile
|
|
|
|
```crystal
|
|
deps do
|
|
github "manastech/crystal-sqlite3"
|
|
end
|
|
```
|
|
|
|
### Usage
|
|
|
|
```crystal
|
|
require "sqlite3"
|
|
|
|
db = SQLite3::Database.new( "data.db" )
|
|
db.execute("select * from table") do |row|
|
|
p row
|
|
end
|
|
db.close
|
|
```
|