Skip to content

Commit 0055c39

Browse files
committed
Update README
1 parent f0d3dae commit 0055c39

File tree

1 file changed

+2
-35
lines changed

1 file changed

+2
-35
lines changed

README.md

Lines changed: 2 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ The following filter operators are exposed by default:
7070
### Comparison Operators
7171
| Postgres expression | GraphQL field | Type |
7272
| --- | --- | --- |
73+
| IS NULL | is | Enum (`NULL`, `NOT_NULL`) |
7374
| IS NULL | null | Boolean |
7475
| = | equalTo | Scalar |
7576
| <> | notEqualTo | Scalar |
@@ -219,7 +220,7 @@ For additional examples, see the [tests](https://github.com/mattbretl/postgraphi
219220

220221
## Plugin Options
221222

222-
When using PostGraphile as a library, the following plugin options can be passed via `graphileBuildOptions` (called `graphqlBuildOptions` in PostGraphile 4.0.0-alpha2.20 and earlier):
223+
When using PostGraphile as a library, the following plugin options can be passed via `graphileBuildOptions`:
223224

224225
### connectionFilterAllowedOperators
225226

@@ -282,40 +283,6 @@ postgraphile(pgConfig, schema, {
282283
},
283284
},
284285
})
285-
```
286-
287-
Note: The `connectionFilterUsesShortNames` option was removed in v1.0.0-alpha.6. To restore the old functionality, you can use this:
288-
``` js
289-
postgraphile(pgConfig, schema, {
290-
graphileBuildOptions: {
291-
connectionFilterOperatorNames: {
292-
equalTo: "eq",
293-
notEqualTo: "ne",
294-
lessThan: "lt",
295-
lessThanOrEqualTo: "lte",
296-
greaterThan: "gt",
297-
greaterThanOrEqualTo: "gte",
298-
in: "in",
299-
notIn: "nin",
300-
contains: "cont",
301-
notContains: "ncont",
302-
containsInsensitive: "conti",
303-
notContainsInsensitive: "nconti",
304-
startsWith: "starts",
305-
notStartsWith: "nstarts",
306-
startsWithInsensitive: "startsi",
307-
notStartsWithInsensitive: "nstartsi",
308-
endsWith: "ends",
309-
notEndsWith: "nends",
310-
endsWithInsensitive: "endsi",
311-
notEndsWithInsensitive: "nendsi",
312-
like: "like",
313-
notLike: "nlike",
314-
likeInsensitive: "ilike",
315-
notLikeInsensitive: "nilike",
316-
},
317-
},
318-
})
319286
```
320287

321288
## Development

0 commit comments

Comments
 (0)