From 15c4307c483663e0f592365399010b51f47cdb29 Mon Sep 17 00:00:00 2001 From: Jack Christensen Date: Sat, 7 Jan 2017 14:18:52 -0600 Subject: [PATCH] Add note for strongly typed queries --- v3.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/v3.md b/v3.md index ca13055f..b64c734a 100644 --- a/v3.md +++ b/v3.md @@ -40,3 +40,5 @@ ValueReader / msgReader cleanup Make easier / possible to mock Conn or ConnPool (https://github.com/jackc/pgx/pull/162) Every field that should not be set by user should be replaced by accessor method (e.g. Conn.PID, Conn.SecretKey) + +Investigate strongly typed queries. i.e. Some sort of interface where varargs of Query, Exec, and Scan wouldn't happen. Need to be some low-level interface where (probably generated) functions could (more or less) directly read and write to the connection.