Skip to content

Commit

Permalink
Update examples.md (#564)
Browse files Browse the repository at this point in the history
title case
  • Loading branch information
bpaulien authored Dec 11, 2024
1 parent 2894d2f commit 7ca1486
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/api/actual-ql/examples.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ActualQL Examples

## Searching by month or year
## Searching by Month or Year

ActualQL supports various functions to convert data, as well as the ability to convert field data. For example, saying `{ $month: '2021-01-01' }` would come back with the month of `2021-01`. But we need a way to apply that to the `date` field, and we use `$transform` for that.

Expand All @@ -16,7 +16,7 @@ This would return all transactions in the month of `2021-01`. We've applied the

You can substitute `$year` to do the same thing for year.

## Total Amount per Payee between 6 Apr 2020 and 5 Apr 2021
## Total Amount per Payee Between 6 Apr 2020 and 5 Apr 2021

```js
(
Expand All @@ -37,7 +37,7 @@ You can substitute `$year` to do the same thing for year.
});
```

## Total Amount of all transactions with Note containing #interest (P) between 6 Apr 2020 and 5 Apr 2021
## Total Amount of all Transactions With Note Containing #interest (P) Between 6 Apr 2020 and 5 Apr 2021

```js
(
Expand Down Expand Up @@ -73,7 +73,7 @@ or
).data[0].total / 100;
```

## Total Amount per Category between 6 Apr 2020 and 5 Apr 2021
## Total Amount per Category Between 6 Apr 2020 and 5 Apr 2021

```js
(
Expand Down

0 comments on commit 7ca1486

Please sign in to comment.