Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Monday Factory
Database model
Commits
99179324
Commit
99179324
authored
5 years ago
by
Petr Besir Horáček
Browse files
Options
Download
Patches
Plain Diff
Added aliasing to ::getDatabaseFluent()
parent
0219a77a
master
No related merge requests found
Pipeline
#9550
failed with stage
in 39 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Storage/ALowLevelRelationalDatabaseStorage.php
+2
-2
src/Storage/ALowLevelRelationalDatabaseStorage.php
with
2 additions
and
2 deletions
+2
-2
src/Storage/ALowLevelRelationalDatabaseStorage.php
+
2
−
2
View file @
99179324
...
...
@@ -276,11 +276,11 @@ abstract class ALowLevelRelationalDatabaseStorage implements ILowLevelRelational
*
* @return \Dibi\Fluent
*/
public
function
getTableFluent
(
string
$selectSet
=
'*'
):
Fluent
public
function
getTableFluent
(
string
$selectSet
=
'*'
,
string
$tableAlias
=
''
):
Fluent
{
return
$this
->
connection
->
select
(
$selectSet
)
->
from
(
$this
->
tableName
)
->
from
(
$this
->
tableName
.
' '
.
$tableAlias
)
->
setupResult
(
'setRowFactory'
,
[
$this
->
rowFactoryClass
,
'fromRow'
]);
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets