Skip to content

Commit 82e27ba

Browse files
committed
docs: make comment more detailed
1 parent 3497170 commit 82e27ba

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

system/Database/BaseBuilder.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,9 @@ class BaseBuilder
264264
/**
265265
* Constructor
266266
*
267-
* @param array|string $tableName
267+
* @param array|string $tableName tablename or tablenames with or without aliases
268+
*
269+
* Examples of $tableName: `mytable`, `jobs j`, `jobs j, users u`, `['jobs j','users u']`
268270
*
269271
* @throws DatabaseException
270272
*/

system/Database/BaseConnection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ abstract protected function _transCommit(): bool;
835835
abstract protected function _transRollback(): bool;
836836

837837
/**
838-
* Returns an instance of the query builder for this connection.
838+
* Returns a non-shared new instance of the query builder for this connection.
839839
*
840840
* @param array|string $tableName
841841
*

0 commit comments

Comments
 (0)