app/models/syncTransaction.js
/**
   * Delete sync transaction by transaction id
   * @param syncId
   * @param transactionId
   * @return {Knex.QueryBuilder}
   */
Delete sync transaction by transaction id
@param syncId
@param transactionId
@return {Knex.QueryBuilder}
Delete sync transaction by transaction id @param syncId @param transactionId @return { Knex . QueryBuilder }
deleteByTransactionId(syncId, transactionId) {
    transactionId = Array.isArray(transactionId) ? transactionId : [transactionId];
    return db
      .table(tableName)
      .where('sync_id', syncId)
      .whereIn('transaction_id', transactionId)
      .delete();
  }
deleteByTransactionId ( syncId , transactionId ) { transactionId = Array . isArray ( transactionId ) ? transactionId : [ transactionId ] ; return db . table ( tableName ) . where ( 'sync_id' , syncId ) . whereIn ( 'transaction_id' , transactionId ) . delete ( ) ; }
Delete sync transaction by transaction id
 @param syncId
 @param transactionId
 @return {Knex.QueryBuilder}
Delete sync transaction by transaction id @param syncId @param transactionId @return { Knex . QueryBuilder }