Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6129709

Browse files
Merge 5.2 into 5.x (#3311)
2 parents 22d28b0 + 89772e2 commit 6129709

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

‎docs/includes/query-builder/QueryBuilderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ public function testAll(): void
351351
{
352352
// begin query all
353353
$result = DB::table('movies')
354-
->where('movies', 'all', ['title', 'rated', 'imdb.rating'])
354+
->where('writers', 'all', ['Ben Affleck', 'Matt Damon'])
355355
->get();
356356
// end query all
357357

‎docs/query-builder.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -869,7 +869,8 @@ Contains All Fields Example
869869

870870
The following example shows how to use the ``all`` query
871871
operator with the ``where()`` query builder method to match
872-
documents that contain all the specified fields:
872+
documents that have a ``writers`` array field containing all
873+
the specified values:
873874

874875
.. literalinclude:: /includes/query-builder/QueryBuilderTest.php
875876
:language: php

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /