xowf::test_item::Answer_manager method revisions_up_to (public)

 <instance of xowf::test_item::Answer_manager[i]> revisions_up_to \
    revision_sets revision_id

Defined in packages/xowf/tcl/test-item-procs.tcl

Return the revisions of the provided revision set up the provided revision_id. If this revision_id does not exist, return the full set.

Parameters:
revision_sets
revision_id

Partial Call Graph (max 5 caller/called nodes):
%3 test_create_test_items create_test_items (test xowf) xowf::test_item::Answer_manager instproc revisions_up_to xowf::test_item::Answer_manager instproc revisions_up_to test_create_test_items->xowf::test_item::Answer_manager instproc revisions_up_to

Testcases:
create_test_items
Source code:
set result ""
set stop 0
return [lmap s $revision_sets {
  if {$stopbreak
  set stop [expr {[ns_set get $s revision_id] eq $revision_id}]
  set s
}]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: