Talks about: <a class="post-tag post-tag-frontmatter" href="/tags/frontmatter">frontmatter</a>, and <a class="post-tag post-tag-sql" href="/tags/sql">sql</a>

Controls whether the generated code should create/open connection itself or use a given connection.

Configuration Options

Front Matter

In order to configure this option, place the following code in the front matter of your SQL statement:

-- createConnection: configValue
SELECT  something
FROM    your_database_schema
WHERE   some_column = :some_value