Skip to content

Conversation

cdcarson
Copy link
Contributor

Implements #80, i.e. adding cast optionally to ExecuteOptions:

const result = connOrTx.execute(query, values, { as: 'object',  cast: myOneOffCastFn })

Notes:

  • I don't believe this is a breaking change.
  • I added a test & all the tests pass.

@iheanyi iheanyi enabled auto-merge March 6, 2023 22:39
@iheanyi iheanyi merged commit 279a6fe into planetscale:main Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants