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
61a96f03
Commit
61a96f03
authored
Apr 17, 2007
by
legenerationlazi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--no commit message
--no commit message
parent
68de3e82
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
DQL (Doctrine Query Language) - Functional Expressions - String functions.php
...Language) - Functional Expressions - String functions.php
+9
-8
No files found.
manual/docs/DQL (Doctrine Query Language) - Functional Expressions - String functions.php
View file @
61a96f03
<?php
?>
*
The
//CONCAT// function returns a string that is a concatenation of its arguments. In the example above we
map
the
concatenation
of
users
firstname
and
lastname
to
a
value
called
name
...
...
@@ -14,7 +12,8 @@ foreach(\$users as \$user) {
// its a mapped function value
print
\
$user
->
name
;
}
?>
</code>
?>
</code>
...
...
@@ -32,7 +31,8 @@ The //SUBSTRING// function returns a string.
foreach(\$users as \$user) {
print \$user->name;
}
?>
</code>
?>
</code>
...
...
@@ -51,7 +51,8 @@ not provided, BOTH is assumed. The //TRIM// function returns the trimmed string.
foreach(\$users as \$user) {
print \$user->name;
}
?>
</code>
?>
</code>
* The //LOWER// and //UPPER// functions convert a string to lower and upper case, respectively. They return a
...
...
@@ -67,11 +68,11 @@ string.
foreach(\$users as \$user) {
print \$user->name;
}
?>
</code>
?>
</code>
*
The //LOCATE// function returns the position of a given string within a string, starting the search at a specified
* The //LOCATE// function returns the position of a given string within a string, starting the search at a specified
position. It returns the first position at which the string was found as an integer. The first argument
is the string to be located; the second argument is the string to be searched; the optional third argument
is an integer that represents the string position at which the search is started (by default, the beginning of
...
...
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