We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12b6121 commit 85190f7Copy full SHA for 85190f7
lib/algora/accounts/accounts.ex
@@ -31,6 +31,7 @@ defmodule Algora.Accounts do
31
| {:limit, non_neg_integer()}
32
| {:handle, String.t()}
33
| {:handles, [String.t()]}
34
+ | {:provider_logins, [String.t()]}
35
| {:earnings_gt, Money.t()}
36
| {:sort_by_country, String.t()}
37
| {:sort_by_tech_stack, [String.t()]}
@@ -56,6 +57,9 @@ defmodule Algora.Accounts do
56
57
{:handles, handles}, query ->
58
from([b] in query, where: b.handle in ^handles)
59
60
+ {:provider_logins, logins}, query ->
61
+ from([b] in query, where: b.provider_login in ^logins)
62
+
63
{:earnings_gt, min_amount}, query ->
64
from([b, earnings: e] in query,
65
where:
0 commit comments