-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Milestone
Description
Table is created with the following query:
CREATE TABLE example (
key uuid NOT NULL,
my_ip inet
);Generated query will be:
-- name: CreateExample :one
INSERT INTO example (key) VALUES ($1) RETURNING *;Then when I call the query I got this error when calling CreateExample(ctx, uuid.New()):
sql: Scan error on column index 1, name "my_ip": unsupported Scan, storing driver.Value type <nil> into type *net.IP
EDIT: replace inet with json and the same issue happens. More types might be involved.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels