From 190761e905adb718da2207ab4bee3be2399f0f1f Mon Sep 17 00:00:00 2001 From: Kevin Leung Date: Thu, 12 Mar 2020 11:30:52 +0800 Subject: [PATCH] Remove Id's String cast --- src/tink/sql/Types.hx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/tink/sql/Types.hx b/src/tink/sql/Types.hx index 3e8949b..9b27470 100644 --- a/src/tink/sql/Types.hx +++ b/src/tink/sql/Types.hx @@ -30,10 +30,7 @@ abstract Id(Int) to Int { public inline function new(v) this = v; - - @:from static inline function ofStringly(s:tink.Stringly):Id - return new Id(s); - + @:from static inline function ofInt(i:Int):Id return new Id(i);