diff --git a/docs/api/actual-ql/index.md b/docs/api/actual-ql/index.md index 44d279e7f..a36862796 100644 --- a/docs/api/actual-ql/index.md +++ b/docs/api/actual-ql/index.md @@ -21,7 +21,7 @@ Currently the query language is mostly undocumented, but more docs will come soo Until we have better docs, here are few things you can do with ActualQL. -## Running a query +## Running a Query You construct a query with `q` and run it with `runQuery`. The result is an object with a `data` prop. An example: @@ -33,7 +33,7 @@ let { data } = await runQuery(q('transactions').select('*')); `data` will be an array of all the transactions in the system. -## Specify split transaction behavior +## Specify Split Transaction Behavior Split transactions complicate things: when you sum transaction amounts, do you sum up all the subtransactions or do you just use the top-level transaction? When selecting transactions, which ones do you want? @@ -47,11 +47,11 @@ There are two different options for `splits`: `inline` or `grouped`\*