Skip to content

Commit

Permalink
Further tweaks to "Sprunje parameter" edit
Browse files Browse the repository at this point in the history
Getting this sentence to feel right is difficult!
  • Loading branch information
StrykeSlammerII authored Oct 31, 2024
1 parent ddf6429 commit fd7b09f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/14.database/05.data-sprunjing/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Building queries that can handle all of these request parameters correctly, for

## Sprunje parameters

Every Sprunje can accept the following parameters. Typically, they are passed in as a query string in a `GET` request, then passed as the second argument in your Sprunje's constructor.
Every Sprunje can accept the following parameters. Typically, they are passed in the query string of a `GET` request, then passed along as the second argument of your Sprunje's constructor.

- `sorts`: an associative array of field names mapped to sort directions. Sort direction can be either `asc` or `desc`.
- `filters`: an associative array of field names mapped to queries. For example, `name: Attenb` will search for names that contain "Attenb."
Expand Down

0 comments on commit fd7b09f

Please sign in to comment.