planetscale / database-js

A Fetch API-compatible PlanetScale database driver
https://planetscale.com/docs/tutorials/planetscale-serverless-driver
Apache License 2.0
1.17k stars 35 forks source link

Customize type cast function #34

Closed dgraham closed 2 years ago

dgraham commented 2 years ago

Provide a custom type casting function to convert string values from the database into JavaScript data types.