{
    "content": [
        {
            "type": "text",
            "text": "# SQL::Dialects::Role (perldoc)\n\n## NAME\n\nSQL::Dialects::Role - The role of being a SQL::Dialect\n\n## SYNOPSIS\n\npackage My::SQL::Dialect;\nuse SQL::Dialects::Role;\nsub getconfig {\nreturn <<CONFIG;\n[SECTION]\nitem1\nitem2\n[ANOTHER SECTION]\nitem1\nitem2\nCONFIG\n}\n\n## DESCRIPTION\n\nThis adds the role of being a SQL::Dialect to your class.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION** (2 subsections)\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "SQL::Dialects::Role",
        "section": "",
        "mode": "perldoc",
        "summary": "SQL::Dialects::Role - The role of being a SQL::Dialect",
        "synopsis": "package My::SQL::Dialect;\nuse SQL::Dialects::Role;\nsub getconfig {\nreturn <<CONFIG;\n[SECTION]\nitem1\nitem2\n[ANOTHER SECTION]\nitem1\nitem2\nCONFIG\n}",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 16,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 2,
                "subsections": [
                    {
                        "name": "Requirements",
                        "lines": 7
                    },
                    {
                        "name": "Implements",
                        "lines": 36
                    }
                ]
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "SQL::Dialects::Role - The role of being a SQL::Dialect\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "package My::SQL::Dialect;\n\nuse SQL::Dialects::Role;\n\nsub getconfig {\nreturn <<CONFIG;\n[SECTION]\nitem1\nitem2\n\n[ANOTHER SECTION]\nitem1\nitem2\nCONFIG\n}\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This adds the role of being a SQL::Dialect to your class.\n",
                "subsections": [
                    {
                        "name": "Requirements",
                        "content": "You must implement...\n\ngetconfig\nmy $config = $class->getconfig;\n\nReturns information about the dialect in an INI-like format.\n"
                    },
                    {
                        "name": "Implements",
                        "content": "The role implements...\n\ngetconfigashash\nmy $config = $class->getconfigashash;\n\nReturns the data represented in getconfig() as a hash ref.\n\nItems will be upper-cased, sections will be lower-cased.\n\nThe example in the SYNOPSIS would come back as...\n\n{\nsection => {\nITEM1       => 1,\nITEM2       => 2,\n},\nanothersection => {\nITEM1       => 1,\nITEM2       => 2,\n}\n}\n\nAUTHOR & COPYRIGHT\nThis module is\n\ncopyright (c), 2009 by Michael G. Schwern\ncopyright (c), 2009-2020 by Jens Rehsack.\n\nAll rights reserved.\n\nThe module may be freely distributed under the same terms as Perl itself using either the \"GPL\nLicense\" or the \"Artistic License\" as specified in the Perl README file.\n\nJeff can be reached at: jzuckerATcpan.org Jens can be reached at: rehsackATcpan.org or via\ndbi-devATperl.org\n"
                    }
                ]
            },
            "SEE ALSO": {
                "content": "\"dialect()\" in SQL::Parser\n",
                "subsections": []
            }
        }
    }
}