Skip to content

WaspShell

jaywong edited this page Jul 24, 2013 · 3 revisions

常用命令
查看所有表: show_tables
查看表的索引: show_indexes 't1'
查看表结构: describe_table 't1'
查看索引结构: describeIndex 't1','index1'

执行查询:query 'select * from t1'
执行增删改查建表等: sql 'update t1 set c1=1 where id=1'

开启表: enable 't1'
关闭表: disable 't1'
删除表:drop 't1'

分裂EntityGroup, split 'tableName', 'splitKey'

Clone this wiki locally