RobinBlomberg / kysely-codegen

Generate Kysely type definitions from your database.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bytea column improperly inferred as `Buffer`

lifeiscontent opened this issue · comments

Steps to reproduce

  1. create postgres db
  2. create table with bytea column
  3. see that kysley codegen improperly returns Buffer but pg / kysley returns string

Expected result

bytea inferred as string

Actual result

bytea inferred as buffer but pg adapter returns a hex encoded string

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar