./ct_report/coverage/mongoose_graphql_stats_admin_query.COVER.html
1 | -module(mongoose_graphql_stats_admin_query). |
|
2 | -behaviour(mongoose_graphql). |
|
3 |
|
|
4 | -export([execute/4]). |
|
5 |
|
|
6 | -import(mongoose_graphql_helper, [make_error/2]). |
|
7 |
|
|
8 | -ignore_xref([execute/4]). |
|
9 |
|
|
10 | -include("../mongoose_graphql_types.hrl"). |
|
11 | -include("mongoose.hrl"). |
|
12 | -include("jlib.hrl"). |
|
13 |
|
|
14 | execute(_Ctx, stats, <<"globalStats">>, _Args) -> |
|
15 | 4 | {ok, globalStats}; |
16 | execute(_Ctx, stats, <<"domainStats">>, #{<<"domain">> := Domain}) -> |
|
17 | 14 | {ok, Domain}. |
Line | Hits | Source |
---|