unqlite

Version, currently master branch1 version
  • master branchlatestMay 13, 2018

github.com/gnuos/unqlite.cr

UnQLite bindings

2 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  unqlite:
    github: gnuos/unqlite.cr
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
0.24.2
License
MIT
Author
Kevin

Dependencies

This version declares no dependencies.

README

unqlite.cr

使用Crystal编写的UnQLite绑定

Installation

如果要使用这个库,需要添加以下代码到你的 shard.yml 文件中:

dependencies:
  unqlite:
    github: gnuos/unqlite.cr

Usage

require "unqlite"

在代码中使用使用上面的语句导入 unqlite 包可以使用 unqlite 数据库,但是一定要先编译安装 unqlite 的动态链接库,否则无法使用。

Development

还有一些API没有封装起来,如果有需要的话,请先阅读 lib_unqlite.cr 的代码。当你需要一些新的API时,你可以通过以下方式加入进来。

Contributing

  1. Fork it ( https://github.com/[your-github-name]/unqlite/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • gnuos Kevin - creator, maintainer