typeorm 0.2.36-dev.d365acc → 0.2.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2828,7 +2828,7 @@ var SqlServerQueryRunner = /** @class */ (function (_super) {
|
|
|
2828
2828
|
* Converts MssqlParameter into real mssql parameter type.
|
|
2829
2829
|
*/
|
|
2830
2830
|
SqlServerQueryRunner.prototype.mssqlParameterToNativeParameter = function (parameter) {
|
|
2831
|
-
var _a, _b, _c, _d, _e, _f, _g, _h
|
|
2831
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
2832
2832
|
switch (this.driver.normalizeType({ type: parameter.type })) {
|
|
2833
2833
|
case "bit":
|
|
2834
2834
|
return this.driver.mssql.Bit;
|
|
@@ -2853,29 +2853,26 @@ var SqlServerQueryRunner = /** @class */ (function (_super) {
|
|
|
2853
2853
|
case "tinyint":
|
|
2854
2854
|
return this.driver.mssql.TinyInt;
|
|
2855
2855
|
case "char":
|
|
2856
|
-
return (_c = this.driver.mssql).Char.apply(_c, __spreadArray([], __read(parameter.params)));
|
|
2857
2856
|
case "nchar":
|
|
2858
|
-
return (
|
|
2857
|
+
return (_c = this.driver.mssql).NChar.apply(_c, __spreadArray([], __read(parameter.params)));
|
|
2859
2858
|
case "text":
|
|
2860
|
-
return this.driver.mssql.Text;
|
|
2861
2859
|
case "ntext":
|
|
2862
2860
|
return this.driver.mssql.Ntext;
|
|
2863
2861
|
case "varchar":
|
|
2864
|
-
return (_e = this.driver.mssql).VarChar.apply(_e, __spreadArray([], __read(parameter.params)));
|
|
2865
2862
|
case "nvarchar":
|
|
2866
|
-
return (
|
|
2863
|
+
return (_d = this.driver.mssql).NVarChar.apply(_d, __spreadArray([], __read(parameter.params)));
|
|
2867
2864
|
case "xml":
|
|
2868
2865
|
return this.driver.mssql.Xml;
|
|
2869
2866
|
case "time":
|
|
2870
|
-
return (
|
|
2867
|
+
return (_e = this.driver.mssql).Time.apply(_e, __spreadArray([], __read(parameter.params)));
|
|
2871
2868
|
case "date":
|
|
2872
2869
|
return this.driver.mssql.Date;
|
|
2873
2870
|
case "datetime":
|
|
2874
2871
|
return this.driver.mssql.DateTime;
|
|
2875
2872
|
case "datetime2":
|
|
2876
|
-
return (
|
|
2873
|
+
return (_f = this.driver.mssql).DateTime2.apply(_f, __spreadArray([], __read(parameter.params)));
|
|
2877
2874
|
case "datetimeoffset":
|
|
2878
|
-
return (
|
|
2875
|
+
return (_g = this.driver.mssql).DateTimeOffset.apply(_g, __spreadArray([], __read(parameter.params)));
|
|
2879
2876
|
case "smalldatetime":
|
|
2880
2877
|
return this.driver.mssql.SmallDateTime;
|
|
2881
2878
|
case "uniqueidentifier":
|
|
@@ -2885,7 +2882,7 @@ var SqlServerQueryRunner = /** @class */ (function (_super) {
|
|
|
2885
2882
|
case "binary":
|
|
2886
2883
|
return this.driver.mssql.Binary;
|
|
2887
2884
|
case "varbinary":
|
|
2888
|
-
return (
|
|
2885
|
+
return (_h = this.driver.mssql).VarBinary.apply(_h, __spreadArray([], __read(parameter.params)));
|
|
2889
2886
|
case "image":
|
|
2890
2887
|
return this.driver.mssql.Image;
|
|
2891
2888
|
case "udt":
|