1.0.18 • Published 2 years ago

nv-pg-nofix-cmd-update-cli v1.0.18

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

nv-pg-nofix-cmd-update-cli

  • cli-tool
  • for test nv-pg-nofix, useless

INSTALL

npm install nv-pg-nofix-cmd-update-cli -g

USAGE

            Usage: nv_pg_nofix_update [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 update_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
                -d, --data             update data, k v k v.....
                -h, --help             usage

EXAMPLES

without total

        nv_pg_nofix_update -N jsonpg -t question -c 'includes(name,"666")' -d bint 777 -C name int bint -L 10

with total

actions

 # nv_pg_nofix_update -l
        [ 'update_with_match', 'update_all_with_match' ]