Skip to content

Commit

Permalink
More README formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mattbretl committed Mar 10, 2018
1 parent a0354c1 commit 886ebfe
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -283,8 +283,9 @@ For additional examples, see the [tests](https://github.com/mattbretl/postgraphi
When using PostGraphile as a library, the following plugin options can be passed via `graphileBuildOptions`:

<details>

<summary>connectionFilterAllowedOperators</summary>
<br>

Restrict filtering to specific operators:

``` js
Expand All @@ -308,11 +309,13 @@ postgraphile(pgConfig, schema, {
```

For a full list of the available operators, see the Comparison Operators table above.

</details>

<details>

<summary>connectionFilterAllowedFieldTypes</summary>
<br>

Restrict filtering to specific field types:

``` js
Expand All @@ -324,11 +327,13 @@ postgraphile(pgConfig, schema, {
```

The available field types will depend on your database schema.

</details>

<details>

<summary>connectionFilterComputedColumns</summary>
<br>

Enable/disable filtering by computed columns:

``` js
Expand All @@ -338,11 +343,13 @@ postgraphile(pgConfig, schema, {
},
})
```

</details>

<details>

<summary>connectionFilterOperatorNames</summary>
<br>

Use alternative names (e.g. `eq`, `ne`) for operators:

``` js
Expand All @@ -355,6 +362,7 @@ postgraphile(pgConfig, schema, {
},
})
```

</details>

## Development
Expand Down

0 comments on commit 886ebfe

Please sign in to comment.