Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
lelemm authored Dec 24, 2024
2 parents a726c29 + b704fbb commit 2508f20
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions docs/api/actual-ql/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@ q('transactions')

This returns transactions with an income category sorted by category name. You can also pass an array to `orderBy` to sort by multiple fields.

You can also change the sort order by specifying either `asc` or `desc`:

```js
q('transactions')
.filter({ 'category.is_income': true })
.select('*')
.orderBy({ 'category.name': 'desc' });
```

## Aggregate Functions

You can specify aggregate functions in `select` for things like sums and counts. An example:
Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started/envelope-budgeting.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ you understand that budgets are not rigid constraints but flexible tools that ca



### 4. Prepare for the unexpected
### 5. Prepare for the unexpected

There’s no such thing as a "normal" month when it comes to expenses. Your costs fluctuate throughout the year,
often unpredictably. Envelope budgeting helps you prepare for these irregular expenses by adding funds to
Expand Down

0 comments on commit 2508f20

Please sign in to comment.