foxhound 1.0.39 → 1.0.40
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/package.json
CHANGED
|
@@ -828,7 +828,7 @@ var FoxHoundDialectALASQL = function()
|
|
|
828
828
|
{
|
|
829
829
|
var tmpTableName = generateTableName(pParameters);
|
|
830
830
|
let tmpDeleteTrackingState = pParameters.query.disableDeleteTracking;
|
|
831
|
-
pParameters.query.disableDeleteTracking =
|
|
831
|
+
pParameters.query.disableDeleteTracking = true;
|
|
832
832
|
var tmpWhere = generateWhere(pParameters);
|
|
833
833
|
var tmpUpdateUndeleteSetters = generateUpdateUndeleteSetters(pParameters);
|
|
834
834
|
pParameters.query.disableDeleteTracking = tmpDeleteTrackingState;
|
|
@@ -873,7 +873,7 @@ var FoxHoundDialectMySQL = function()
|
|
|
873
873
|
var tmpTableName = generateTableName(pParameters);
|
|
874
874
|
// TODO: Fix these
|
|
875
875
|
let tmpDeleteTrackingState = pParameters.query.disableDeleteTracking;
|
|
876
|
-
pParameters.query.disableDeleteTracking =
|
|
876
|
+
pParameters.query.disableDeleteTracking = true;
|
|
877
877
|
var tmpWhere = generateWhere(pParameters);
|
|
878
878
|
var tmpUpdateUndeleteSetters = generateUpdateUndeleteSetters(pParameters);
|
|
879
879
|
pParameters.query.disableDeleteTracking = tmpDeleteTrackingState;
|
|
@@ -675,7 +675,7 @@ suite
|
|
|
675
675
|
// This is the query generated by the ALASQL dialect
|
|
676
676
|
libFable.log.trace('Undelete Query', tmpQuery.query);
|
|
677
677
|
Expect(tmpQuery.query.body)
|
|
678
|
-
.to.equal('UPDATE Animal SET `UpdateDate` = NOW(), `UpdatingIDUser` = :UpdatingIDUser_1, `Deleted` = 0 WHERE `IDAnimal` = :IDAnimal_w0
|
|
678
|
+
.to.equal('UPDATE Animal SET `UpdateDate` = NOW(), `UpdatingIDUser` = :UpdatingIDUser_1, `Deleted` = 0 WHERE `IDAnimal` = :IDAnimal_w0;');
|
|
679
679
|
}
|
|
680
680
|
);
|
|
681
681
|
test
|
|
@@ -789,7 +789,7 @@ suite
|
|
|
789
789
|
// This is the query generated by the MySQL dialect
|
|
790
790
|
libFable.log.trace('Undelete Query', tmpQuery.query);
|
|
791
791
|
Expect(tmpQuery.query.body)
|
|
792
|
-
.to.equal('UPDATE `Animal` SET UpdateDate = NOW(3), UpdatingIDUser = :UpdatingIDUser_1, Deleted = 0 WHERE IDAnimal = :IDAnimal_w0
|
|
792
|
+
.to.equal('UPDATE `Animal` SET UpdateDate = NOW(3), UpdatingIDUser = :UpdatingIDUser_1, Deleted = 0 WHERE IDAnimal = :IDAnimal_w0;');
|
|
793
793
|
}
|
|
794
794
|
);
|
|
795
795
|
test
|