Querying #17
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Research
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No project
No assignees
1 participant
Notifications
Total time spent: 45 minutes 32 seconds
Due date
c.fahner
45 minutes 32 seconds
No due date set.
Dependencies
No dependencies set
Reference
slendium/ocd!17
Loading…
Reference in a new issue
No description provided.
Delete branch "issues/2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Resolves #2.
WIP: Queryingto Querying@ -0,0 +11,4 @@** A document shape in SQL is essentially a `WHERE` clause specifying multiple fields and the patterns* they must match for a row to be included in the results.* For example: `WHERE name = :name AND number >= :number AND flag = 0 AND...` would be created as follows:Update this example to match the actual code example
@ -0,0 +123,4 @@* @param non-empty-list<string|float|int|bool|null> $values* @return Closure(FieldPath):Expr\MatchAll*/public static function all(array $values): Closure {Rename
matchAll()@ -0,0 +132,4 @@* @param non-empty-list<string|float|int|bool|null> $values* @return Closure(FieldPath):Expr\MatchSome*/public static function some(array $values): Closure {Rename
matchSome()@ -0,0 +141,4 @@* @param non-empty-list<string|float|int|bool|null> $values* @return Closure(FieldPath):Expr\MatchNone*/public static function none(array $values): Closure {Rename
matchNone()@ -0,0 +154,4 @@}/*** @since 1.0Document what is considered "empty"
@ -0,0 +165,4 @@}/*** @since 1.0Add
@see ::isEmpty()@ -0,0 +197,4 @@* @param (Closure(FieldPath):Predicate)|string|float|int|bool|null $wrappee* @return Closure(FieldPath):Predicate*/public static function path(array $path, Closure|string|float|int|bool|null $wrappee): Closure {Q::path([ 'example' ], 'test')looks ambiguous. It is not necessarily clear that this is an "equals" operation.Add an explicit
eqmethod that returns aClosure():Expr\Equaland restrict$wrappeeto only allowClosure's.