Skip to content

Commit

Permalink
Update api.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolasburk committed Jul 22, 2019
1 parent e9fec0c commit e64cb41
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/photon/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,14 @@ Creates a new `Photon` instance.

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `debug` | `boolean` | **No** | When set to `true`, the `Photon` instance prints additional logging output to the console when sending requests to Prisma's query engine. Default: `false`. |
| `debug` | `boolean` | No | When set to `true`, the `Photon` instance prints additional logging output to the console when sending requests to Prisma's query engine. Default: `false`. |

#### Examples

```ts
const Photon = new Photon({ debug: true })
```

### `findOne`

Returns a single object identified by a _unique_ value (e.g. `id` or `email`). You can use the `select` and `include` arguments to determine which fields should be included on the returned object.
Expand Down

0 comments on commit e64cb41

Please sign in to comment.