diff options
Diffstat (limited to 'lib/public/DB/IPreparedStatement.php')
-rw-r--r-- | lib/public/DB/IPreparedStatement.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/public/DB/IPreparedStatement.php b/lib/public/DB/IPreparedStatement.php index 2fadff5da3f..391f987d20a 100644 --- a/lib/public/DB/IPreparedStatement.php +++ b/lib/public/DB/IPreparedStatement.php @@ -30,6 +30,15 @@ use Doctrine\DBAL\ParameterType; use PDO; /** + * This interface allows you to prepare a database query. + * + * This interface must not be implemented in your application but + * instead obtained from IDBConnection::prepare. + * + * ```php + * $prepare = $this->db->prepare($query->getSql()); + * ``` + * * @since 21.0.0 */ interface IPreparedStatement { |