lib/base_repo.rb
# Update a row with the next document sequence number.
#
# Gets DocumentSequence to return the update SQL to run.
#
# @param document_name [string] the document name (key to document sequence hash)
# @param id [integer] the id of the row to be updated.
# @return [void]
Update a row with the next document sequence number.
Gets DocumentSequence to return the update SQL to run.
Update a row with the next document sequence number . Gets DocumentSequence to return the update SQL to run .
def update_with_document_number(document_name, id)
    doc_seq = DocumentSequence.new(document_name)
    DB[doc_seq.next_sequence_update_sql(id)].update
  end
def update_with_document_number ( document_name , id ) doc_seq = DocumentSequence . new ( document_name ) DB [ doc_seq . next_sequence_update_sql ( id ) ] . update end
Update a row with the next document sequence number.
Update a row with the next document sequence number .
# check SQL from DS - is doc non-null????
None
void
document_name
the document name (key to document sequence hash)
the document name ( key to document sequence hash )
id
the id of the row to be updated.
the id of the row to be updated .