writesReturnUpdateCount

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>

Writing method which are using ReturningMode.NONE return the number of affected rows instead.

Configuration Options

Front Matter

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

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