repository

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>

The fully qualified name of the target repository class.

In order to overwrite the target repository of a single SQL statement, use the repository option. You can specify the fully qualified name of the repository that should contain your statement, or you can just specify the name of the class and YoSQL will automatically add the base package name as well as the repositoryNamePrefix and repositoryNameSuffix for you.

Configuration Options

Front Matter

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

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