From f91d6a59d2b9ca88c79211777b2328e3fbb97aa8 Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Mon, 18 Apr 2016 20:54:33 -0700 Subject: [PATCH] Mention Option and Vec impls in README --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 7665b21c..204d61b3 100644 --- a/README.md +++ b/README.md @@ -262,6 +262,13 @@ types. The driver currently supports the following conversions: +`Option` implements `FromSql` where `T: FromSql` and `ToSql` where `T: +ToSql`, and represents nullable Postgres values. + +`&[T]` and `Vec` implement `ToSql` where `T: ToSql`, and `Vec` +additionally implements `FromSql` where `T: FromSql`, which represent +one-dimensional Postgres arrays. + More conversions can be defined by implementing the `ToSql` and `FromSql` traits.