All Projects → tami5 → sqlite.lua

tami5 / sqlite.lua

Licence: MIT license
SQLite LuaJIT binding with a very simple api.

Programming Languages

lua
6591 projects

Projects that are alternatives of or similar to sqlite.lua

lcurses
Lua bindings for Curses
Stars: ✭ 60 (-79.38%)
Mutual labels:  luajit, luarocks
ljdns
A contemporary DNS library using LuaJIT FFI.
Stars: ✭ 26 (-91.07%)
Mutual labels:  luajit, luarocks
Luafun
Lua Fun is a high-performance functional programming library for Lua designed with LuaJIT's trace compiler in mind.
Stars: ✭ 1,654 (+468.38%)
Mutual labels:  luajit, luarocks
strict
Check for use of undeclared variables
Stars: ✭ 32 (-89%)
Mutual labels:  luajit, luarocks
Luarocks
LuaRocks is the package manager for the Lua programming language.
Stars: ✭ 2,324 (+698.63%)
Mutual labels:  luajit, luarocks
Luject
🍹A static injector of dynamic library for application (android, iphoneos, macOS, windows, linux)
Stars: ✭ 203 (-30.24%)
Mutual labels:  luajit
luacc
Lua Code Combine
Stars: ✭ 36 (-87.63%)
Mutual labels:  luajit
Luaver
Lua Version Manager - Managing and switching between different versions of Lua, LuaJIT and Luarocks made easy
Stars: ✭ 179 (-38.49%)
Mutual labels:  luajit
nginx-lua
Nginx 1.19+ with LUA support based on Alpine Linux, Amazon Linux, Debian, Fedora and Ubuntu.
Stars: ✭ 112 (-61.51%)
Mutual labels:  luajit
Mlua
High level Lua 5.4/5.3/5.2/5.1 (including LuaJIT) bindings to Rust with async/await support
Stars: ✭ 176 (-39.52%)
Mutual labels:  luajit
tinycoffee
tiny coffee is a framework to develop simple 2d games with opengl 3
Stars: ✭ 61 (-79.04%)
Mutual labels:  luajit
Lua Openssl
Openssl binding for Lua
Stars: ✭ 206 (-29.21%)
Mutual labels:  luajit
Libmoon
libmoon is a library for fast and flexible packet processing with DPDK and LuaJIT.
Stars: ✭ 250 (-14.09%)
Mutual labels:  luajit
Lua Resty Redis Connector
Connection utilities for lua-resty-redis
Stars: ✭ 186 (-36.08%)
Mutual labels:  luajit
FWK
💎 3D game framework in C, with Luajit bindings now.
Stars: ✭ 423 (+45.36%)
Mutual labels:  luajit
moonblob
Binary serialization for moonscript + LuaJIT
Stars: ✭ 22 (-92.44%)
Mutual labels:  luajit
raylua
Cross-Platform, Modern, And updated LuaJIT bindings for raylib library.
Stars: ✭ 77 (-73.54%)
Mutual labels:  luajit
Sol2
Sol3 (sol2 v3.0) - a C++ <-> Lua API wrapper with advanced features and top notch performance - is here, and it's great! Documentation:
Stars: ✭ 2,791 (+859.11%)
Mutual labels:  luajit
Tolua
The fastest unity lua binding solution
Stars: ✭ 2,630 (+803.78%)
Mutual labels:  luajit
code runner.nvim
Neovim plugin.The best code runner you could have, it is like the one in vscode but with super powers, it manages projects like in intellij but without being slow
Stars: ✭ 234 (-19.59%)
Mutual labels:  luajit

sqlite.lua 💫

SQLite/LuaJIT binding and a highly opinionated wrapper for storing, retrieving, caching, and persisting SQLite databases. sqlite.lua present new possibilities for plugin development and while it's primarily created for neovim, it support all luajit environments.

Features:

  • Connect, reconnect, close sql db connections sqlite:open/sql:close
  • Evaluate any sqlite statement and return result if any sqlite:eval
  • Helper function over sqlite:eval to do all sort of operation.
  • High level API with sqlite.tbl for better experience.
  • lua tables deserialization/serialization (in helper functions and high level api)
  • 90% test coverage.
  • Up-to-date docs and changelog

🚧 Installation

Packer.nvim (Neovim)

use { "kkharji/sqlite.lua" }

luarocks (LuaJIT)

luarocks install sqlite luv

Ensure you have sqlite3 installed locally. (if you are on mac it might be installed already)

Windows

Download precompiled and set let g:sqlite_clib_path = path/to/sqlite3.dll (note: /)

Linux

sudo pacman -S sqlite # Arch
sudo apt-get install sqlite3 libsqlite3-dev # Ubuntu

Nix (home-manager)

programs.neovim.plugins = [
    {
      plugin = pkgs.vimPlugins.sqlite-lua;
      config = "let g:sqlite_clib_path = '${pkgs.sqlite.out}/lib/libsqlite3.so'";
    }
];

Notes:

  • Ensure you install pkgs.sqlite
  • If you are using home-manager on OSX, you must replace libsqlite3.so with libsqlite3.dylib

🔥 Powered by sqlite.lua

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].