Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongo-php-library
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
sinan
mongo-php-library
Commits
eee0def5
Commit
eee0def5
authored
Dec 08, 2014
by
Hannes Magnusson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
I have no idea why, but this is apparently not valid syntax in php
parent
a995a887
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
10 deletions
+14
-10
CursorType.php
src/MongoDB/CursorType.php
+7
-3
QueryFlags.php
src/MongoDB/QueryFlags.php
+7
-7
No files found.
src/MongoDB/CursorType.php
View file @
eee0def5
<?php
namespace
MongoDB\CursorType
;
const
NON_TAILABLE
=
0
<<
0
;
const
TAILABLE
=
\MongoDB\QueryFlags\TAILABLE_CURSOR
;
const
TAILABLE_AWAIT
=
\MongoDB\QueryFlags\TAILABLE_CURSOR
|
\MongoDB\QueryFlags\AWAIT_DATA
;
const
NON_TAILABLE
=
0x00
;
//const TAILABLE = \MongoDB\QueryFlags\TAILABLE_CURSOR;
const
TAILABLE
=
0x02
;
//const TAILABLE_AWAIT = \MongoDB\QueryFlags\TAILABLE_CURSOR | \MongoDB\QueryFlags\AWAIT_DATA;
const
TAILABLE_AWAIT
=
0x22
;
src/MongoDB/QueryFlags.php
View file @
eee0def5
<?php
namespace
MongoDB\QueryFlags
;
const
TAILABLE_CURSOR
=
1
<<
1
;
const
SLAVE_OKAY
=
1
<<
2
;
const
OPLOG_REPLY
=
1
<<
3
;
const
NO_CURSOR_TIMEOUT
=
1
<<
4
;
const
AWAIT_DATA
=
1
<<
5
;
const
EXHAUST
=
1
<<
6
;
const
PARTIAL
=
1
<<
7
;
const
TAILABLE_CURSOR
=
0x02
;
const
SLAVE_OKAY
=
0x04
;
const
OPLOG_REPLY
=
0x08
;
const
NO_CURSOR_TIMEOUT
=
0x10
;
const
AWAIT_DATA
=
0x20
;
const
EXHAUST
=
0x40
;
const
PARTIAL
=
0x80
;
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