Type Definition diesel::
type VarChar = Text;
This type is generally interchangeable with
TEXT, so Diesel has this as an
alias rather than a separate type (Diesel does not currently support
One notable exception to this is with arrays on PG.
TEXT cannot be
VARCHAR. It is recommended that you always use
you need a string array on PG.
The returned pointer is only valid for the lifetime to the argument of
from_sql. This impl is intended for uses where you want to write a new
impl in terms of
String, but don't want to allocate. We have to return a
raw pointer instead of a reference with a lifetime due to the structure of