statement.js
function Statement (attributes) {
  for (var key in attributes) {
    if (attributes.hasOwnProperty(key)) this[key] = result(attributes[key])
  }

  // Convert table rows to array of transactions
  var transactions = Table.prototype.rowsToArray(this.rows, {
    processRow: function (row) {
      return this.createTransaction(weld(this.columns, row))
    }.bind(this)
  })
  this.transactions = new Transactions(transactions, this)
}
function Statement (attributes) {
  for (var key in attributes) {
    if (attributes.hasOwnProperty(key)) this[key] = result(attributes[key])
  }

  // Convert table rows to array of transactions
  var transactions = Table.prototype.rowsToArray(this.rows, {
    processRow: function (row) {
      return this.createTransaction(weld(this.columns, row))
    }.bind(this)
  })
  this.transactions = new Transactions(transactions, this)
}
function Statement ( attributes ) { for ( var key in attributes ) { if ( attributes . hasOwnProperty ( key ) ) this [ key ] = result ( attributes [ key ] ) } // Convert table rows to array of transactions var transactions = Table . prototype . rowsToArray ( this . rows , { processRow : function ( row ) { return this . createTransaction ( weld ( this . columns , row ) ) } . bind ( this ) } ) this . transactions = new Transactions ( transactions , this ) }
Represents a Statement
@constructor
@param {Object} attributes - Usually a statement definition
Represents a Statement