Skip to content

Where: allow variadic use#25

Merged
lippserd merged 3 commits into
masterfrom
feature/allow-variadic-use-of-where
Jul 7, 2020
Merged

Where: allow variadic use#25
lippserd merged 3 commits into
masterfrom
feature/allow-variadic-use-of-where

Conversation

@Thomas-Gelf
Copy link
Copy Markdown
Contributor

This allows to use those methods as follows in a backward-compatible way:

->where('a = ? AND (b = ? OR c = ?)', 1, 2, 3);
->notWhere('? < INTERVAL(a, ?)', 1, [2, 3]);

@lippserd lippserd added this to the v0.2.0 milestone Jul 6, 2020
Thomas-Gelf and others added 3 commits July 6, 2020 16:14
This allows to use those methods as follows in a backward-compatible way:

    ->where('a = ? AND (b = ? OR c = ?)', 1, 2, 3);
    ->notWhere('? < INTERVAL(a, ?)', 1, [2, 3]);
@lippserd lippserd force-pushed the feature/allow-variadic-use-of-where branch from 13968b1 to 90317a2 Compare July 6, 2020 14:14
@lippserd lippserd merged commit 5f0b765 into master Jul 7, 2020
@lippserd lippserd deleted the feature/allow-variadic-use-of-where branch July 7, 2020 07:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants