Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export class UsageRepository {
params.namedType = input.namedType;
whereSql += ` AND NamedType = {namedType:String}`;
}
whereSql += ` AND IsIndirectFieldUsage = false`;
whereSql += ` AND IsIndirectFieldUsage = false AND IsNull = false`;
Comment thread
JivusAyrus marked this conversation as resolved.

const [requestSeries, clients, meta] = await Promise.all([
this.getUsageRequestSeries(whereSql, timeFilters, params),
Expand Down Expand Up @@ -246,6 +246,7 @@ export class UsageRepository {
Timestamp >= startDate AND Timestamp <= endDate
AND OrganizationID = {organizationId:String}
AND FederatedGraphID = {federatedGraphId:String}
AND IsNull = false
GROUP BY
FieldName, TypeName
)
Expand Down Expand Up @@ -334,6 +335,7 @@ export class UsageRepository {
Timestamp >= startDate AND Timestamp <= endDate
AND OrganizationID = {organizationId:String}
AND FederatedGraphID = {federatedGraphId:String}
AND IsNull = false
GROUP BY
FieldName, TypeName
)
Expand Down Expand Up @@ -432,6 +434,7 @@ export class UsageRepository {
AND FederatedGraphID = {federatedGraphId:String}
AND OperationHash = {operationHash:String}
AND hasAny(TypeNames, df.TypeNames) = 1
AND IsNull = false
${operationName === undefined ? '' : 'AND OperationName = {operationName:String}'}
`;

Expand Down
Loading