-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathlua_SQLBuilder-0.2.0-1.rockspec
More file actions
52 lines (47 loc) · 2.16 KB
/
Copy pathlua_SQLBuilder-0.2.0-1.rockspec
File metadata and controls
52 lines (47 loc) · 2.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
package = "lua_SQLBuilder"
version = "0.2.0-1"
source = {
url = "git://github.com/Nuctori/lua_SQLBuilder.git",
tag = "v0.2.0",
}
description = {
summary = "Flexible SQL builder for Lua with multi-dialect support (MySQL / PostgreSQL / SQLite)",
detailed = [[
A dependency-free SQL statement builder for Lua 5.1-5.4 and LuaJIT.
- Chainable WHERE / OR / ORDER BY / GROUP BY / HAVING / LIMIT / FOR UPDATE
- SELECT / UPDATE / INSERT / DELETE helpers with QUERY, SET, DATA, COLS,
VALUES and upsert (ON DUPLICATE KEY UPDATE / ON CONFLICT) support
- to_sql() inline rendering with dialect-aware string escaping, and
to_prepare() with bound parameters for injection-safe execution
- Dialect-aware identifier quoting, JSON path operators and LIMIT/OFFSET
- Deterministic output: keys are sorted, repeated renders are identical
- Verified against real MySQL 8, PostgreSQL 16 and SQLite on CI
(Lua 5.1 / 5.2 / 5.3 / 5.4 / LuaJIT)
]],
homepage = "https://github.com/Nuctori/lua_SQLBuilder",
license = "MIT",
}
dependencies = {
"lua >= 5.1",
}
build = {
type = "builtin",
modules = {
["lua_SQLBuilder"] = "lua_SQLBuilder/init.lua",
["lua_SQLBuilder.SQLBuilder"] = "lua_SQLBuilder/SQLBuilder.lua",
["lua_SQLBuilder.SELECT"] = "lua_SQLBuilder/SELECT.lua",
["lua_SQLBuilder.UPDATE"] = "lua_SQLBuilder/UPDATE.lua",
["lua_SQLBuilder.INSERT"] = "lua_SQLBuilder/INSERT.lua",
["lua_SQLBuilder.DELETE"] = "lua_SQLBuilder/DELETE.lua",
["lua_SQLBuilder.class"] = "lua_SQLBuilder/class.lua",
["lua_SQLBuilder.dialect"] = "lua_SQLBuilder/dialect.lua",
["lua_SQLBuilder.json"] = "lua_SQLBuilder/json.lua",
["lua_SQLBuilder.utils"] = "lua_SQLBuilder/utils.lua",
["lua_SQLBuilder.sql_comp.WHERE"] = "lua_SQLBuilder/sql_comp/WHERE.lua",
["lua_SQLBuilder.sql_comp.OR"] = "lua_SQLBuilder/sql_comp/OR.lua",
["lua_SQLBuilder.sql_comp.ORDER"] = "lua_SQLBuilder/sql_comp/ORDER.lua",
["lua_SQLBuilder.sql_comp.GROUP"] = "lua_SQLBuilder/sql_comp/GROUP.lua",
["lua_SQLBuilder.sql_comp.HAVING"] = "lua_SQLBuilder/sql_comp/HAVING.lua",
["lua_SQLBuilder.sql_comp.LIMIT"] = "lua_SQLBuilder/sql_comp/LIMIT.lua",
},
}