Skip to content

pgx test - #1

Closed
powersjcb wants to merge 5 commits into
og-masterfrom
pgx
Closed

powersjcb wants to merge 5 commits into
og-masterfrom
pgx

Conversation

@powersjcb

@powersjcb powersjcb commented Jun 8, 2020 •

Copy link
Copy Markdown
Owner

pgx is new to me, so I wanted to spend some time getting the driver working for an existing example.

I think my big takeaway is that we cannot use

  • time.Time -> pgtype.Timestamp
  • []string -> pgtype.VarcharArray

Several fields in pgtype do not implement MarshalJSON. So at first glance, it looks like fields wont be compatible with the emitjsontags feature of sqlc.

jackc/pgtype#36

@powersjcb
powersjcb changed the base branch from master to og-master June 8, 2020 22:19
@powersjcb powersjcb changed the title pgx pgx preview Jun 8, 2020
@powersjcb powersjcb changed the title pgx preview pgx test Jun 8, 2020
@powersjcb powersjcb closed this Jan 30, 2021
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.

1 participant