Skip to content

Commit bd3130b

Browse files
committed
Added documentation in README for #185
1 parent e284677 commit bd3130b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,11 +205,13 @@ NB: You may specify "satisfy=categories.all,posts.any" if you want to mix "and"
205205

206206
### List + Column selection
207207

208-
By default all columns are selected. With the "columns" parameter you can select specific columns. Multiple columns should be comma separated. An asterisk ("*") may be used as a wildcard to indicate "all columns":
208+
By default all columns are selected. With the "columns" parameter you can select specific columns. Multiple columns should be comma separated.
209+
An asterisk ("*") may be used as a wildcard to indicate "all columns". Similar to "columns" you may use the "exclude" parameter to remove certain columns:
209210

210211
```
211212
GET http://localhost/api.php/categories?columns=name
212213
GET http://localhost/api.php/categories?columns=categories.name
214+
GET http://localhost/api.php/categories?exclude=categories.id
213215
```
214216

215217
Output:

0 commit comments

Comments
 (0)