Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
cc5bbd01
Unverified
Commit
cc5bbd01
authored
Jun 05, 2020
by
Sergei Morozov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not extend ResultStetement by Result
parent
0d9ea40a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
3 deletions
+16
-3
Result.php
lib/Doctrine/DBAL/Driver/Result.php
+16
-3
No files found.
lib/Doctrine/DBAL/Driver/Result.php
View file @
cc5bbd01
...
@@ -4,12 +4,10 @@ declare(strict_types=1);
...
@@ -4,12 +4,10 @@ declare(strict_types=1);
namespace
Doctrine\DBAL\Driver
;
namespace
Doctrine\DBAL\Driver
;
use
Doctrine\DBAL\Driver\ResultStatement
as
BaseResultStatement
;
/**
/**
* Driver-level result statement execution result.
* Driver-level result statement execution result.
*/
*/
interface
Result
extends
BaseResultStatement
interface
Result
{
{
/**
/**
* Returns the next row of the result as a numeric array or FALSE if there are no more rows.
* Returns the next row of the result as a numeric array or FALSE if there are no more rows.
...
@@ -64,4 +62,19 @@ interface Result extends BaseResultStatement
...
@@ -64,4 +62,19 @@ interface Result extends BaseResultStatement
* @throws DriverException
* @throws DriverException
*/
*/
public
function
fetchFirstColumn
()
:
array
;
public
function
fetchFirstColumn
()
:
array
;
/**
* Returns the number of columns in the result
*
* @return int The number of columns in the result. If the columns cannot be counted,
* this method must return 0.
*/
public
function
columnCount
();
/**
* Closes the cursor, enabling the statement to be executed again.
*
* @return bool TRUE on success or FALSE on failure.
*/
public
function
closeCursor
();
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment