xowf::test_item::AssessmentInterface method replace_in_fc (protected)
<instance of xowf::test_item::AssessmentInterface> replace_in_fc \ -fc fc property value
Defined in packages/xowf/tcl/test-item-procs.tcl
- Switches:
- -fc (required)
- Parameters:
- property (required)
- value (required)
- Testcases:
- No testcase defined.
Source code: return [lmap c $fc { if {[regexp {^[^:]+_:} $c]} { set pairs {} foreach pair [split $c ,] { set p [string first = $pair] set attribute [string range $pair 0 $p-1] #set old_value [string range $pair $p+1 end] if {$attribute eq $property} { set pair $property=$value } lappend pairs $pair } set c [join $pairs ,] #ns_log notice "APPEND $c" } set c }]XQL Not present: Generic, PostgreSQL, Oracle