enumXmlOption
enum XmlOption: string
Public API: explicitly declared with
@visibility public.Whether character data is read as an XML document or as XML content.
Source: https://www.postgresql.org/docs/17/datatype-xml.html.
\SqlSemantics\Platform\PostgreSql\Statement\Option\XmlOption::Document->value // => 'DOCUMENT'Cases§
case Document = 'DOCUMENT'case Content = 'CONTENT'Test cases 9§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
Other tests reaching this symbol 8
FlagsTest::testXmlOptionLowersTheChoicecallsXmlParseTest::testDeriveScalarIsNullWhenTheValueIscallsXmlParseTest::testOutputNameIsXmlparsecallsXmlParseTest::testRenderWritesTheWhitespaceOptioncallsXmlSerializeTest::testDeriveScalarIsTheCharacterTypecallsXmlSerializeTest::testDeriveScalarReportsATypeThatIsNotACharacterTypecallsXmlSerializeTest::testOutputNameIsXmlserializecallsXmlSerializeTest::testRenderWritesTheIndentationcalls
Relations§
Constant reads 2
Type checks 2
- instanceof SqlSemantics\Platform\PostgreSql\Statement\Utility\Session\SetSpecialSetting::__construct() packages/sql-semantics-postgres/src/Statement/Utility/Session/SetSpecialSetting.php:60
- instanceof SqlSemantics\Platform\PostgreSql\Statement\Utility\Session\SetSpecialSetting::render() packages/sql-semantics-postgres/src/Statement/Utility/Session/SetSpecialSetting.php:87
Type declarations 4
- type SqlSemantics\Platform\PostgreSql\Lowering\Leaf\Flags packages/sql-semantics-postgres/src/Lowering/Leaf/Flags.php:105
- type SqlSemantics\Platform\PostgreSql\Statement\Invocation\Xml\XmlParse packages/sql-semantics-postgres/src/Statement/Invocation/Xml/XmlParse.php:43
- type SqlSemantics\Platform\PostgreSql\Statement\Invocation\Xml\XmlSerialize packages/sql-semantics-postgres/src/Statement/Invocation/Xml/XmlSerialize.php:51
- type SqlSemantics\Platform\PostgreSql\Statement\Utility\Session\SetSpecialSetting packages/sql-semantics-postgres/src/Statement/Utility/Session/SetSpecialSetting.php:50