Changeset

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
parents 13239:f2578a69ccf4
children 13241:0419de4e4db1
files util/sql.lua
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
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;