Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pquery
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Taddeüs Kroes
pquery
Commits
8808bee9
Commit
8808bee9
authored
13 years ago
by
Taddeus Kroes
Browse files
Options
Downloads
Patches
Plain Diff
Updated documentation of SQL lugin.
parent
72b6e456
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pquery.sql.php
+6
-5
6 additions, 5 deletions
pquery.sql.php
with
6 additions
and
5 deletions
pquery.sql.php
+
6
−
5
View file @
8808bee9
...
...
@@ -10,14 +10,15 @@
* @property $query The query that is being evaluated.
*/
class
pQuerySql
extends
pQuery
implements
pQueryExtension
{
const
VARIABLE_PATTERN
=
'/\[\s*%s\s*\]/'
;
static
$accepts
=
array
(
'string'
=>
'parse_query'
,
'resource'
);
/**
* The pattern to use for specifying variables in a query.
*/
const
VARIABLE_PATTERN
=
'/\[\s*%s\s*\]/'
;
/**
* The default row fetching type, one of 'assoc', 'object' or 'array'.
*
* @var resource
*/
const
DEFAULT_FETCH_TYPE
=
'assoc'
;
...
...
@@ -143,7 +144,7 @@ class pQuerySql extends pQuery implements pQueryExtension {
/**
* Find the number of resulting rows of the current query.
*
* @returns int The number of rows.
* @returns int The number of
result
rows.
*/
function
result_count
()
{
$this
->
assert_execution
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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