diff --git a/webui/assets/main.js b/webui/assets/main.js index db54a3b1e..7927a3b42 100644 --- a/webui/assets/main.js +++ b/webui/assets/main.js @@ -161,10 +161,10 @@ class REPL { output_string += `

Just getting started? Try this:
- $ curl -XPOST "http://127.0.0.1:10101/index/test" -d '{"options": {"columnLabel": "col"}}' # create index "test"
- $ curl -XPOST "http://127.0.0.1:10101/index/test/frame/foo" -d '{"options": {"rowLabel": "row"}}' # create frame "foo"
- # Select "test" in the index dropdown above
- SetBit(row=0, col=0, frame=foo) # Use PQL to set a bit + :create index test
+ :use test
+ :create frame foo
+ SetBit(rowID=0, columnID=0, frame=foo) # Use PQL to set a bit ` } } diff --git a/webui/index.html b/webui/index.html index 687f8fc93..dc06e310a 100644 --- a/webui/index.html +++ b/webui/index.html @@ -56,7 +56,7 @@
Special commands
:create index test [columnLabel=column]
- :use index test
+ :use test
:create frame foo [rowLabel=row]
:delete index test
:delete frame foo