Skip to content

gnuos/unqlite.cr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published