src/data/stores/base/store_history.js
Function sourceUpdate
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
sourceUpdate: function (row, data, dummy_ctx, pre_data, transaction_id) {
return this.criticalSection("commit", function () {
this.commitId++;
var row_id = Types.is_object(row) ? row[this._options.source_id_key] : row;
var target_type = "update";
Function sourceRemove
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
sourceRemove: function (id, data) {
return this.criticalSection("commit", function () {
this.commitId++;
var cont = Promise.create();
if (this._options.combine_insert_remove) {
Function sourceUpdate
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
sourceUpdate: function (row, data, dummy_ctx, pre_data, transaction_id) {