Skip to content

Commit

Permalink
type: planetscale readme
Browse files Browse the repository at this point in the history
  • Loading branch information
CanRau committed Mar 13, 2023
1 parent e80b238 commit 88a47cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const db = new Kysely<Database>({

#### Custom `format` function

`PlanetScaleDialect` passes all parameters to `@planetscale/database` unmodified, expect for JavaScript Dates, which are converted to MySQL strings. If you [set a `format` function](https://github.com/planetscale/database-js#custom-query-parameter-format-function), you can override this behavior:
`PlanetScaleDialect` passes all parameters to `@planetscale/database` unmodified, except for JavaScript Dates, which are converted to MySQL strings. If you [set a `format` function](https://github.com/planetscale/database-js#custom-query-parameter-format-function), you can override this behavior:

```typescript
import {Kysely} from 'kysely'
Expand Down

0 comments on commit 88a47cc

Please sign in to comment.