From 5c3d9bea85a987a7d55b36696c062fa3060b928a Mon Sep 17 00:00:00 2001 From: bpaulien Date: Wed, 11 Dec 2024 18:52:34 -0500 Subject: [PATCH] Update index.md (#562) title case, spelling --- docs/api/actual-ql/index.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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`\*