File tree Expand file tree Collapse file tree 2 files changed +14
-10
lines changed Expand file tree Collapse file tree 2 files changed +14
-10
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
2
namespace MongoDB \CursorType ;
3
3
4
- const NON_TAILABLE = 0 << 0 ;
5
- const TAILABLE = \MongoDB \QueryFlags \TAILABLE_CURSOR ;
6
- const TAILABLE_AWAIT = \MongoDB \QueryFlags \TAILABLE_CURSOR | \MongoDB \QueryFlags \AWAIT_DATA ;
4
+ const NON_TAILABLE = 0x00 ;
5
+
6
+ //const TAILABLE = \MongoDB\QueryFlags\TAILABLE_CURSOR;
7
+ const TAILABLE = 0x02 ;
8
+
9
+ //const TAILABLE_AWAIT = \MongoDB\QueryFlags\TAILABLE_CURSOR | \MongoDB\QueryFlags\AWAIT_DATA;
10
+ const TAILABLE_AWAIT = 0x22 ;
7
11
8
12
Original file line number Diff line number Diff line change 1
1
<?php
2
2
namespace MongoDB \QueryFlags ;
3
3
4
- const TAILABLE_CURSOR = 1 << 1 ;
5
- const SLAVE_OKAY = 1 << 2 ;
6
- const OPLOG_REPLY = 1 << 3 ;
7
- const NO_CURSOR_TIMEOUT = 1 << 4 ;
8
- const AWAIT_DATA = 1 << 5 ;
9
- const EXHAUST = 1 << 6 ;
10
- const PARTIAL = 1 << 7 ;
4
+ const TAILABLE_CURSOR = 0x02 ;
5
+ const SLAVE_OKAY = 0x04 ;
6
+ const OPLOG_REPLY = 0x08 ;
7
+ const NO_CURSOR_TIMEOUT = 0x10 ;
8
+ const AWAIT_DATA = 0x20 ;
9
+ const EXHAUST = 0x40 ;
10
+ const PARTIAL = 0x80 ;
11
11
12
12
You can’t perform that action at this time.
0 commit comments