123456789101112131415161718192021222324252627282930313233343536(* Copyright (C) 2023 Petter A. Urkedal <paurkedal@gmail.com>
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at your
* option) any later version, with the LGPL-3.0 Linking Exception.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
* License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* and the LGPL-3.0 Linking Exception along with this library. If not, see
* <http://www.gnu.org/licenses/> and <https://spdx.org>, respectively.
*)type'at=Format.formatter->'a->unit[@@@alert"-deprecated"]letqprintf=Caqti_query.qprintfletkqprintf=Caqti_query.kqprintfletparam=Caqti_query.paramletenv=Caqti_query.envletquote=Caqti_query.quoteletquery=Caqti_query.query[@@@alert"+deprecated"]letboolppfx=queryppf(V(Caqti_type.Field.Bool,x))letintppfx=queryppf(V(Caqti_type.Field.Int,x))letfloatppfx=queryppf(V(Caqti_type.Field.Float,x))letstringppfx=queryppf(V(Caqti_type.Field.String,x))letoctetsppfx=queryppf(V(Caqti_type.Field.Octets,x))letpdateppfx=queryppf(V(Caqti_type.Field.Pdate,x))letptimeppfx=queryppf(V(Caqti_type.Field.Ptime,x))letptime_spanppfx=queryppf(V(Caqti_type.Field.Ptime_span,x))