diff --git a/docs/index.html b/docs/index.html index 847455d..789bad7 100644 --- a/docs/index.html +++ b/docs/index.html @@ -611,45 +611,36 @@
/deltas("group A",<sum>)
/deltas("group A",5)=<>
FQL can be used for exploring a Foundation DB cluster in a CLI
- environment or programmatically as a Foundation DB The FQL project provides an application for executing queries and
+ exploring the data, similar to psql
for Postgres. This
+ libraries powering this application are exposed as a Go API, allowing
+ FQL to be used as a Foundation DB layer.
FQL provides a CLI for performing queries from the command line. To
execute a query in “headless” mode (without fullscreen), you can use
- the -q
flag.
-q
flag. The query following the -q
flag
+ must be wrapped in single quotes to avoid mangling by BASH.
ᐅ fql -q '/my/dir("hello","world")'
/my/dir("hello","world")=nil
- When using BASH (or a BASH-like shell), The queries must be wrapped - in single quotes to avoid mangling.
-The -q
flag may be provided multiple times. When
- invoking FQL in this manner, all queries are performed in the same
- transaction.
The -q
flag may be provided multiple times. All
+ queries are run within a single transaction.
ᐅ fql -q '/my/dir("hello",<var:str>)' -q '/other(22,...)'
/my/dir("hello","world")=nil
/other(22,"1")=0xa8
/other(22,"2")=0xf3
If the CLI is executed without the -q
flag, a
- fullscreen environment is started up. In this case, the connection to
- Foundation DB is maintained for the lifetime of the application.
- Single queries may be executed in their own transactions and the
- results are displayed in a scrollable list.
Currently, this environment is not very useful, but it lays the - groundwork for a fully-featured FQL frontend (accidental - alliteration). The final version of this environment will include the - following features:
-FQL exposes it’s AST as an API, allowing Go applications to use FQL @@ -713,47 +704,36 @@