nsmcp::CodeSearchTool method options (protected)
<instance of nsmcp::CodeSearchTool> options arguments
Defined in /usr/local/ns/tcl/nsmcp/code-tools.tcl
- Parameters:
- arguments (required)
- Testcases:
- No testcase defined.
Source code: set opts [dict create query {} limit 20 offset 0] foreach {key value} [:jsonArguments $arguments] {dict set opts [string range $key 1 end] $value} if {[string trim [dict get $opts query]] eq {} || [string length [dict get $opts query]]>256} {error "query must contain 1 through 256 characters"} if {[dict get $opts limit]<1 || [dict get $opts limit]>100 || [dict get $opts offset]<0 || [dict get $opts offset]>50000} {error "Invalid search pagination"} return $optsXQL Not present: Generic, PostgreSQL, Oracle
![[i]](/resources/acs-subsite/ZoomIn16.gif)