1.0.15 • Published 2 years ago
nv-pg-nofix-cmd-select-cli v1.0.15
nv-pg-nofix-cmd-select-cli
- cli-tool
- for test nv-pg-nofix, useless
INSTALL
npm install nv-pg-nofix-cmd-select-cli -g
USAGE
Usage: nv_pg_nofix_select [options]
Options:
-N, --dbname database name
-t, --tblname table name
-D, --desc desc name,default ___dflt___
-c, --cond js-style condition where str ,refer to nv-pg-ir, default null
-s, --srch_ptrn full text srch ptrn,default ""
-o, --oper OR|AND ,cond <binop> srch_ptrn,default AND
-l, --list list avaliable actions
-a, --action action,default select_with_match
-O, --offset offset,default 0
-L, --limit limit of one batch,default 1024
-r, --order_by order by, default none
-C, --slct_cols slcted colnames,default all
-T, --total total wanted,default Infinity/all
-h, --help usage
EXAMPLES
without total
nv_pg_nofix_select -N jsonpg -t question -c "data.cGaX==='false'"
with total
actions
# nv_pg_nofix_select -l
[ 'select_with_match', 'select_all_with_match' ]