-
Notifications
You must be signed in to change notification settings - Fork 80
Shell命令操作Wasp
jaywong85 edited this page Jul 23, 2013
·
2 revisions
Examples:
wasp> sql "create table tabname(col1 type1 [not null] [primary key],col2 type2 [not null],..)"
wasp> sql "insert into table1(field1,field2) values(value1,value2)"
wasp> sql "select * from table1 where col1='a'"
wasp> sql "select * from table1 where col1='a'",{MODEL=>'CURRENT'}
wasp> sql "select * from table1 where col1='a'",{MODEL=>'SNAPSHOT'}
wasp> sql "select * from table1 where col1='a'",{MODEL=>'INCONSISTENT'}