From f3ca59a024a749f9847aa08958f06f80d17037e0 Mon Sep 17 00:00:00 2001 From: Vincent Rischmann Date: Wed, 6 Jan 2021 01:15:52 +0100 Subject: readme: mention that pointers are allowed --- README.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 0bd450c..ff070eb 100644 --- a/README.md +++ b/README.md @@ -138,6 +138,8 @@ The type represents a "row", it can be: * a struct where each field maps to the corresponding column in the resultset (so field 0 must map to column 1 and so on). * a single type, in that case the resultset must only return one column. +The type can be a pointer but only when using the methods taking an allocator. + Not all types are allowed, see the section "Bind parameters and resultset rows" for more information on the types mapping rules. ### Non allocating -- cgit v1.2.3