From fab2c116c79b325e470939ed3c6e27043783b8ac Mon Sep 17 00:00:00 2001 From: Bogdan Mircea Date: Sat, 2 Apr 2022 18:09:25 +0300 Subject: [PATCH] Improved docs --- src/lib.rs | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 62de60d..075b26e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -84,12 +84,16 @@ //! # Custom Row Type //! //! The crate implements a custom deserializer, which is a trimmed down specialized version -//! of the `serde_json` deserializer. -//! Database row deserialization can be attempted to any type implementing [Deserialize](serde::Deserialize). -//! This is thanks to the magic of `serde`. +//! of the `serde_json` deserializer. Database row deserialization can be attempted to any +//! type implementing [Deserialize](serde::Deserialize). //! -//! Map-like types are natively deserialized. -//! For `enum` sequence-like variants, see [deserialize_as_seq]. +//! This is thanks to the magic of `serde`. In addition, regular `serde` features are supported, +//! such as flattening or renaming. Note that implicitly, column names are converted to lowercase +//! for easier deserialization. This can be changed through the [Connection::set_lowercase_columns] +//! method. +//! +//! Map-like and sequence-like types are natively deserialized. For `enum` sequence-like variants, +//! see [deserialize_as_seq]. //! //! ``` //! use exasol::{connect, QueryResult, ResultSet};