Skip to content

artisonian/fleetdb-lua

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

fleetdb-lua

A Lua client for FleetDB, based on the Ruby client. It requires the lua-cjson and luasocket libraries.

Usage

require "fleet"

client = Fleet.new()

client:query{"ping"}    -- "pong"
client:query{"select", "accounts", { where={"=", "id", 2} }}
  -- { { id=2, owner="Alice", credits=150} }

The host and port default to "127.0.0.1" and 3400, but can be changed:

client = Fleet.new({ host="68.127.150.103", port=3401 })

Releases

No releases published

Packages

No packages published

Languages