Skip to content

Commit

Permalink
Merge pull request #15 from CanRau/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobwgillespie committed Mar 13, 2023
2 parents e80b238 + 88a47cc commit 2cc7884
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 2cc7884

Please sign in to comment.