Commit eee0def5 authored by Hannes Magnusson's avatar Hannes Magnusson

I have no idea why, but this is apparently not valid syntax in php

parent a995a887
<?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;
<?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;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment