Skip to content

Commit

Permalink
Merge pull request #2113 from mateuszkowalke/master
Browse files Browse the repository at this point in the history
Add comment for pgtype.Interval struct
  • Loading branch information
jackc authored Aug 26, 2024
2 parents b197994 + 4171f55 commit 603f233
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pgtype/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ similar fashion to database/sql. The second is to use a pointer to a pointer.
return err
}
When using nullable pgtype types as parameters for queries, one has to remember
to explicitly set their Valid field to true, otherwise the parameter's value will be NULL.
JSON Support
pgtype automatically marshals and unmarshals data from json and jsonb PostgreSQL types.
Expand Down

0 comments on commit 603f233

Please sign in to comment.