-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
Let's imagine that I have this struct
struct V {
int x;
int y;
}
// Query
auto cmd = new PGCommand(conn, "select x, y from vectors");
auto result = cmd.executeQuery!(V)();
V[] r = result.map!(a => cast(V) a).array;
Let's imagine that my dataset returns something like
| 1 | 2 |
| null | 3 |
I will always have an error saying that it can't handle null values.
How can I fix this?
Metadata
Metadata
Assignees
Labels
No labels