util.sql: Remove unused String() and Integer() functions
authorKim Alvefur <zash@zash.se>
Sat, 22 Jul 2023 14:55:27 +0200
changeset 13244 a378937103cb
parent 13243 f2578a69ccf4
child 13245 0419de4e4db1
util.sql: Remove unused String() and Integer() functions According to MattJ, leftovers from an earlier vision for util.sql
util/sql.lua
--- 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;