Code Monkey home page Code Monkey logo

lsqlite3's Introduction

lsqlite3

Fork of http://lua.sqlite.org/index.cgi/home - Lua wrapper for SQLite - with few fixes and improvements

Original README

LuaSQLite3 provides a means to manipulate SQLite3 databases directly from lua using Lua 5.

There are two modules, identical except that one links SQLite3 dynamically, the other statically.

The module lsqlite3 links SQLite3 dynamically. To use this module you need the SQLite3 library. You can get it from http://www.sqlite.org/

The module lsqlite3complete links SQLite3 statically. The SQLite3 amalgamation source code is included in the LuaSQLite3 distribution.

Lua 5 is available from http://www.lua.org/

Fork Notes

The following fixes and improvements have been applied:

  • lsqlite3complete is built with recent version of SQLite (3.24.0, of June 16, 2018)

  • lsqlite3complete is built with FTS3/FTS4, FTS5, RTREE, JSON1 enabled

  • when source code is included into project directly and built in lsqlite3complete mode, a new define LSQLITE_EXTENSION is available for building SQLite extension (sqlite3ext.h will be used instead of sqlite3.h)

Installation Notes

Recommended installation flow:

On Linux you may need to install SQLite library:

For example, on Ubuntu:

sudo apt-get sqlite3
sudo apt-get install libsqlite3-dev

Install on LuaRocks

git clone https://github.com/slanska/lsqlite3.git
cd  lsqlite3
sudo make

Note: make will install compiled output into LuaRocks directory. If you have had original version of this library (from lua.sqlite.org), this build will override it.

Disclaimer

This fork was created to serve specific need for my own project (Flexilite). It may or may not fit your specific needs. Use at your own risk.

License

Same as original library - MIT

lsqlite3's People

Contributors

slanska avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

skyformat99 cooee

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.