Uploaded image for project: 'PHP ORMs'
  1. PHP ORMs
  2. PHPORM-265

Add tests on Query\Builder::options()

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Laravel
    • PHP Drivers

      The method Query\Builder::options() is useful to set contextual options for the built query. It is neither tested nor documented.

      Model::where('foo', 'bar')
          ->options(['readConcernLevel' => 'majority']);
          ->get() 

      Asked on Slack

      Hello, IHAC that is using query builder and they are interested in changing the readconcernlevel to majority in some of their queries (at query level), do we have any documentation for this? or if there isn't, is there any documentation to change the readconcernlevel at query level? (edited) 

       

            Assignee:
            Unassigned Unassigned
            Reporter:
            jerome.tamarelle@mongodb.com Jérôme Tamarelle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: