Software /
code /
prosody
Diff
util/sql.lua @ 13240:a378937103cb
util.sql: Remove unused String() and Integer() functions
According to MattJ, leftovers from an earlier vision for util.sql
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 22 Jul 2023 14:55:27 +0200 |
parent | 12975:d10957394a3c |
line wrap: on
line diff
--- a/util/sql.lua Sat Jul 22 14:54:17 2023 +0200 +++ b/util/sql.lua Sat Jul 22 14:55:27 2023 +0200 @@ -27,8 +27,6 @@ local function is_index(x) return getmetatable(x)==index_mt; end local function is_table(x) return getmetatable(x)==table_mt; end local function is_query(x) return getmetatable(x)==query_mt; end -local function Integer() return "Integer()" end -local function String() return "String()" end local function Column(definition) return setmetatable(definition, column_mt); @@ -378,8 +376,6 @@ is_index = is_index; is_table = is_table; is_query = is_query; - Integer = Integer; - String = String; Column = Column; Table = Table; Index = Index;