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.
package/cli.js
CHANGED
|
File without changes
|
|
@@ -2831,7 +2831,7 @@ var SqlServerQueryRunner = /** @class */ (function (_super) {
|
|
|
2831
2831
|
* Converts MssqlParameter into real mssql parameter type.
|
|
2832
2832
|
*/
|
|
2833
2833
|
SqlServerQueryRunner.prototype.mssqlParameterToNativeParameter = function (parameter) {
|
|
2834
|
-
var _a, _b, _c, _d, _e, _f, _g, _h
|
|
2834
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
2835
2835
|
switch (this.driver.normalizeType({ type: parameter.type })) {
|
|
2836
2836
|
case "bit":
|
|
2837
2837
|
return this.driver.mssql.Bit;
|
|
@@ -2856,29 +2856,26 @@ var SqlServerQueryRunner = /** @class */ (function (_super) {
|
|
|
2856
2856
|
case "tinyint":
|
|
2857
2857
|
return this.driver.mssql.TinyInt;
|
|
2858
2858
|
case "char":
|
|
2859
|
-
return (_c = this.driver.mssql).Char.apply(_c, tslib_1.__spreadArray([], tslib_1.__read(parameter.params)));
|
|
2860
2859
|
case "nchar":
|
|
2861
|
-
return (
|
|
2860
|
+
return (_c = this.driver.mssql).NChar.apply(_c, tslib_1.__spreadArray([], tslib_1.__read(parameter.params)));
|
|
2862
2861
|
case "text":
|
|
2863
|
-
return this.driver.mssql.Text;
|
|
2864
2862
|
case "ntext":
|
|
2865
2863
|
return this.driver.mssql.Ntext;
|
|
2866
2864
|
case "varchar":
|
|
2867
|
-
return (_e = this.driver.mssql).VarChar.apply(_e, tslib_1.__spreadArray([], tslib_1.__read(parameter.params)));
|
|
2868
2865
|
case "nvarchar":
|
|
2869
|
-
return (
|
|
2866
|
+
return (_d = this.driver.mssql).NVarChar.apply(_d, tslib_1.__spreadArray([], tslib_1.__read(parameter.params)));
|
|
2870
2867
|
case "xml":
|
|
2871
2868
|
return this.driver.mssql.Xml;
|
|
2872
2869
|
case "time":
|
|
2873
|
-
return (
|
|
2870
|
+
return (_e = this.driver.mssql).Time.apply(_e, tslib_1.__spreadArray([], tslib_1.__read(parameter.params)));
|
|
2874
2871
|
case "date":
|
|
2875
2872
|
return this.driver.mssql.Date;
|
|
2876
2873
|
case "datetime":
|
|
2877
2874
|
return this.driver.mssql.DateTime;
|
|
2878
2875
|
case "datetime2":
|
|
2879
|
-
return (
|
|
2876
|
+
return (_f = this.driver.mssql).DateTime2.apply(_f, tslib_1.__spreadArray([], tslib_1.__read(parameter.params)));
|
|
2880
2877
|
case "datetimeoffset":
|
|
2881
|
-
return (
|
|
2878
|
+
return (_g = this.driver.mssql).DateTimeOffset.apply(_g, tslib_1.__spreadArray([], tslib_1.__read(parameter.params)));
|
|
2882
2879
|
case "smalldatetime":
|
|
2883
2880
|
return this.driver.mssql.SmallDateTime;
|
|
2884
2881
|
case "uniqueidentifier":
|
|
@@ -2888,7 +2885,7 @@ var SqlServerQueryRunner = /** @class */ (function (_super) {
|
|
|
2888
2885
|
case "binary":
|
|
2889
2886
|
return this.driver.mssql.Binary;
|
|
2890
2887
|
case "varbinary":
|
|
2891
|
-
return (
|
|
2888
|
+
return (_h = this.driver.mssql).VarBinary.apply(_h, tslib_1.__spreadArray([], tslib_1.__read(parameter.params)));
|
|
2892
2889
|
case "image":
|
|
2893
2890
|
return this.driver.mssql.Image;
|
|
2894
2891
|
case "udt":
|