GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
The name of the replica set to connect to. If this is given, the master will be determined by using the ismaster database command on the seeds, so the driver may end up connecting to a server that was not even listed. See the replica set example below for details.
'mongodb' => array(
'class' => 'EMongoDB',
'connectionString' => 'mongodb:/localhost',
'dbName' => 'mydb',
'fsyncFlag' => false,
'safeFlag' => false,
'useCursor' => false,
'replicaSet'=>'myReplSet', // it's new
Merge branch 'master' into devel
Allow null value for criteria. isset() does not like null values.
Some typos fix
First implementation of session handler (UNTESTED!)
Fixed bug when invalid events where attached to embedded documents
Embedded arrays are also initialized after load
remove beforeDelete and afterDelete to match CActiveRecord events
raise afterSave earlier to match CActiveRecord event model.
This will trigger the event with correct information (before changing record status)
Value for useCursor can be supplied directly with the query
This will makes it lot more comfortable to write clients, that
need to specify this at every query, since it's not more necessary
to back up the value of the global, or model level useCursor flag
added or operator code and documentation
Merge branch 'f/addOrOperator' into devel
Merge remote branch 'origin/bugfix/cleanupEventAttach' into devel
Merge remote branch 'mrbig/f/instantCursor' into devel
Merge remote branch 'josemartinez/devel' into devel
Merge remote branch 'mrbig/b/recursive_arrays' into devel
Merge branch 'devel' into f/sessionHandler
Fixed bug with field selection
findAll did not work with field exclusion
Bug partially fixed: embedded documents in array did not get the owne…
The owner is only set after loading the documents from the db. I did not
found a way to catch the event when the document is added to the array
thus I was not able to set the owner in this case.
Merge remote-tracking branch 'mrbig/b/array_owners' into devel
Merge remote-tracking branch 'mrbig/b/negative_select' into devel
Fixes issue 38
Merge commit 'f49ab3efba666de4a4680bf988a8e8c12461deba' into f/sessio…
fixes issue 35, bring back lost in history session handler file
Merge branch 'f/sessionHandler' into devel
use Mongo replicaSet.
update Criteria. long int value use MongoInt64.
long int value use MongoInt64.
example: java time format.
PECL mongoclient >=1.3.0 use new MongoClient.
Can effectively reduce the mongodb connection number.
update trace query and java long int.
update trace mongo query and update mongo readPreference
fix yii class_exists error