Comparison

util/sql.lua @ 7276:30dfaf36ea6d

util.sql: Remove unused arguments [luacheck]
author Kim Alvefur <zash@zash.se>
date Sun, 13 Mar 2016 18:35:00 +0100
parent 7275:187ba2e9c012
child 7306:98c4c3a2b536
comparison
equal deleted inserted replaced
7275:187ba2e9c012 7276:30dfaf36ea6d
23 23
24 local function is_column(x) return getmetatable(x)==column_mt; end 24 local function is_column(x) return getmetatable(x)==column_mt; end
25 local function is_index(x) return getmetatable(x)==index_mt; end 25 local function is_index(x) return getmetatable(x)==index_mt; end
26 local function is_table(x) return getmetatable(x)==table_mt; end 26 local function is_table(x) return getmetatable(x)==table_mt; end
27 local function is_query(x) return getmetatable(x)==query_mt; end 27 local function is_query(x) return getmetatable(x)==query_mt; end
28 local function Integer(n) return "Integer()" end 28 local function Integer() return "Integer()" end
29 local function String(n) return "String()" end 29 local function String() return "String()" end
30 30
31 local function Column(definition) 31 local function Column(definition)
32 return setmetatable(definition, column_mt); 32 return setmetatable(definition, column_mt);
33 end 33 end
34 local function Table(definition) 34 local function Table(definition)