diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-04-16 17:00:08 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-04-16 17:00:08 +0200 |
commit | 7644950b48b094bfe5675348aefb7cf5747d325b (patch) | |
tree | a1792e21239a86f471da99b454134a5d8533ef77 /lib/public/idb.php | |
parent | 8653da6c16597959c7bd0f0b202747ff96204575 (diff) | |
download | nextcloud-server-7644950b48b094bfe5675348aefb7cf5747d325b.tar.gz nextcloud-server-7644950b48b094bfe5675348aefb7cf5747d325b.zip |
Add @since tags to all methods in public namespace
* enhance the app development experience - you can look up the
method introduction right inside the code without searching
via git blame
* easier to write apps for multiple versions
Diffstat (limited to 'lib/public/idb.php')
-rw-r--r-- | lib/public/idb.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/public/idb.php b/lib/public/idb.php index 8d7060f66d6..f3e7915d9f7 100644 --- a/lib/public/idb.php +++ b/lib/public/idb.php @@ -25,6 +25,7 @@ namespace OCP; /** * Small Facade for being able to inject the database connection for tests + * @since 7.0.0 - extends IDBConnection was added in 8.1.0 */ interface IDb extends IDBConnection { @@ -35,6 +36,7 @@ interface IDb extends IDBConnection { * @param int $limit the maximum number of rows * @param int $offset from which row we want to start * @return \OC_DB_StatementWrapper prepared SQL query + * @since 7.0.0 */ public function prepareQuery($sql, $limit=null, $offset=null); @@ -43,6 +45,7 @@ interface IDb extends IDBConnection { * Used to get the id of the just inserted element * @param string $tableName the name of the table where we inserted the item * @return int the id of the inserted element + * @since 7.0.0 */ public function getInsertId($tableName); |