1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798(* Copyright (C) 2024--2025 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.
*)moduleDialect=DialectmoduleField_type=Field_typemoduleQuery=QuerymoduleQuery_fmt=Query_fmtmoduleRequest=RequestmoduleRow_mult=Row_multmoduleRow_type=Row_typemoduleShims=ShimsmoduleVersion=VersionmoduleType=structinclude(Row_type:Row_type.STD)includeRequest_type.InfixendmoduletypeCREATE=sigmoduleT=TypemoduleD=DialectincludemoduletypeofVersion.InfixmoduleQ=QuerymoduleQf=Query_fmtincludemoduletypeofQuery.Infixvalstatic:('a,'b,'m)Request_type.t->string->('a,'b,'m)Request.tvalstatic_gen:('a,'b,'m)Request_type.t->(Dialect.t->Query.t)->('a,'b,'m)Request.tvaldynamic:('a,'b,'m)Request_type.t->string->('a,'b,'m)Request.tvaldynamic_gen:('a,'b,'m)Request_type.t->(Dialect.t->Query.t)->('a,'b,'m)Request.tvaldirect:('a,'b,'m)Request_type.t->string->('a,'b,'m)Request.tvaldirect_gen:('a,'b,'m)Request_type.t->(Dialect.t->Query.t)->('a,'b,'m)Request.tendmoduleCreate=structmoduleT=TypemoduleD=DialectincludeVersion.InfixmoduleQ=QuerymoduleQf=Query_fmtincludeQuery.Infixletstaticreq_typeqs=Request.createStaticreq_type(Fun.const(Query.parseqs))letstatic_genreq_typeqf=Request.createStaticreq_typeqfletdynamicreq_typeqs=Request.createDynamicreq_type(Fun.const(Query.parseqs))letdynamic_genreq_typeqf=Request.createDynamicreq_typeqfletdirectreq_typeqs=Request.createDirectreq_type(Fun.const(Query.parseqs))letdirect_genreq_typeqf=Request.createDirectreq_typeqfend