Skip to content

Доработка WHERE #355

@sagittaracc

Description

@sagittaracc
$select
    ->where('f1', '=', 1)
    ->orWhere(function($select) {
        $select->where('f2', '>', 2)->andWhere('f2', '<', 10);
    });
	
// WHERE f1 = 1 or (f2 > 2 and f2 < 10)

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationfeatureNew feature or requesthelp wantedExtra attention is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions