nsmcp::codexProcessFields (private)

 nsmcp::codexProcessFields record numbers strings

Defined in /usr/local/ns/tcl/nsmcp/examples/nsmcp-openacs-api-docs.tcl

Copy permitted Codex process fields into typed diagnostic output. @return Updated field list.

Parameters:
record (required)
numbers (required)
strings (required)

Partial Call Graph (max 5 caller/called nodes):

Testcases:
No testcase defined.
Source code:
    set triples {}
    foreach key $numbers {
        if {[dict exists $record $key] && [string is wideinteger -strict [dict get $record $key]]
            && [dict get $record $key]>=0} {lappend triples $key number [dict get $record $key]}
    }
    foreach key $strings {
        if {[dict exists $record $key] && [regexp {^[A-Za-z0-9_.:/ -]{1,96}$} [dict get $record $key]]} {
            lappend triples $key string [dict get $record $key]
        }
    }
    return $triples
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: