nsmcp::AccessRecordStoreSQLite method statePut (public)
<instance of nsmcp::AccessRecordStoreSQLite> statePut key value
Defined in /usr/local/ns/tcl/nsmcp/log-traffic-record-store.tcl
Save a named control-state value. Replace the existing value using scalar binding. The caller controls transaction boundaries when this state accompanies record or coverage changes.
- Parameters:
- key (required)
- Control-state key.
- value (required)
- Tcl value to serialize into the state table.
- Returns:
- An empty result after the value has been saved.
- Testcases:
- No testcase defined.
Source code: ${:db} execute {INSERT OR REPLACE INTO main.state VALUES(:key,:value)}XQL Not present: Generic, PostgreSQL, Oracle
![[i]](/resources/acs-subsite/ZoomIn16.gif)