pub enum ForClause {
Browse,
Json {
for_json: ForJson,
root: Option<String>,
include_null_values: bool,
without_array_wrapper: bool,
},
Xml {
for_xml: ForXml,
elements: bool,
binary_base64: bool,
root: Option<String>,
type: bool,
},
}Expand description
FOR XML or FOR JSON clause (MSSQL): formats the output of a query as XML or JSON.
FOR BROWSE clause.
FOR JSON ... clause and its options.
Fields
JSON mode (AUTO or PATH).
Optional ROOT('...') parameter.
INCLUDE_NULL_VALUES flag.
WITHOUT_ARRAY_WRAPPER flag.
FOR XML ... clause and its options.
Fields
XML mode (RAW, AUTO, EXPLICIT, PATH).
Optional ROOT('...') parameter.