Skip to content

Commit

Permalink
first pass at read nested
Browse files Browse the repository at this point in the history
  • Loading branch information
aqrln committed Jan 11, 2025
1 parent 1aece1a commit 3b48a79
Show file tree
Hide file tree
Showing 5 changed files with 194 additions and 12 deletions.
4 changes: 4 additions & 0 deletions libs/prisma-value/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,10 @@ impl PrismaValue {
PrismaValue::DateTime(parse_datetime(datetime).unwrap())
}

pub fn placeholder(name: String, r#type: PlaceholderType) -> PrismaValue {
PrismaValue::Placeholder { name, r#type }
}

pub fn as_boolean(&self) -> Option<&bool> {
match self {
PrismaValue::Boolean(bool) => Some(bool),
Expand Down
58 changes: 56 additions & 2 deletions query-engine/core/src/compiler/expression.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
use itertools::Itertools;
use query_structure::PrismaValue;
use serde::Serialize;

Expand Down Expand Up @@ -32,7 +33,13 @@ impl DbQuery {
}

#[derive(Debug, Serialize)]
#[serde(tag = "type", content = "args")]
pub struct JoinExpression {
pub child: Expression,
pub on: Vec<(String, String)>,
}

#[derive(Debug, Serialize)]
#[serde(tag = "type", content = "args", rename_all = "camelCase")]
pub enum Expression {
/// Sequence of statements. The whole sequence evaluates to the result of the last expression.
Seq(Vec<Expression>),
Expand Down Expand Up @@ -63,6 +70,22 @@ pub enum Expression {

/// Concatenates a list of lists.
Concat(Vec<Expression>),

/// Asserts that the result of the expression is at most one record.
Unique(Box<Expression>),

/// Asserts that the result of the expression is at least one record.
Required(Box<Expression>),

/// Application-level join.
Join {
parent: Box<Expression>,
children: Vec<JoinExpression>,
},

/// Get a field from a record or records. If the argument is a list of records,
/// returns a list of values of this field.
MapField { field: String, records: Box<Expression> },
}

impl Expression {
Expand Down Expand Up @@ -114,6 +137,37 @@ impl Expression {
Self::Sum(exprs) => self.display_function("sum", exprs, f, level)?,

Self::Concat(exprs) => self.display_function("concat", exprs, f, level)?,

Self::Unique(expr) => {
writeln!(f, "{indent}unique (")?;
expr.display(f, level + 1)?;
write!(f, "{indent})")?;
}

Self::Required(expr) => {
writeln!(f, "{indent}required (")?;
expr.display(f, level + 1)?;
write!(f, "{indent})")?;
}

Self::Join { parent, children } => {
writeln!(f, "{indent}join (")?;
parent.display(f, level + 1)?;
for nested in children {
let left = nested.on.iter().map(|(l, _)| l).cloned().join(", ");
let right = nested.on.iter().map(|(_, r)| r).cloned().join(", ");
writeln!(f, "\n{indent} with (")?;
nested.child.display(f, level + 2)?;
writeln!(f, "\n{indent} ) on left.{left} = right.{right},")?;
}
write!(f, "{indent})")?;
}

Self::MapField { field, records } => {
writeln!(f, "{indent}mapField {field} (")?;
records.display(f, level + 1)?;
write!(f, "\n{indent})")?;
}
}

Ok(())
Expand All @@ -128,7 +182,7 @@ impl Expression {
) -> std::fmt::Result {
let indent = " ".repeat(level);
let DbQuery { query, params } = db_query;
write!(f, "{indent}{op} {{\n{indent} {query}\n{indent}}} with {params:?}")
write!(f, "{indent}{op} (\n{indent} {query}\n{indent}) with {params:?}")
}

fn display_function(
Expand Down
118 changes: 111 additions & 7 deletions query-engine/core/src/compiler/translate/query/read.rs
Original file line number Diff line number Diff line change
@@ -1,16 +1,30 @@
use query_structure::ModelProjection;
use std::collections::HashSet;

use itertools::Itertools;
use query_structure::{
ConditionValue, Filter, ModelProjection, PlaceholderType, PrismaValue, QueryMode, RelationField, ScalarCondition,

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / test (postgres16, false, postgres, 16)

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / test

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / clippy linting

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / run

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / query-engine on ubuntu-latest

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / query-engine-node-api on ubuntu-latest

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql mariadb / graphql query 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql mariadb / json query 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / graphql query 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / query-engine on macos-13

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.6 / json query 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.7 / graphql query 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.7 / graphql query 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.7 / json query 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / graphql join 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / graphql join 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / sqlite / json query 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / graphql join 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / json join 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / graphql query 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / sqlite / graphql query 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / json query 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / graphql query 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / graphql query 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / json query 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / sqlite / graphql query 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / graphql query 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / sqlite / graphql query 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / sqlite / graphql query 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / graphql join 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / json query 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / graphql query 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / graphql join 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / graphql join 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / json join 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / graphql join 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / json join 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / graphql join 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / graphql join 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / json join 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / graphql query 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / sqlite / json query 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / graphql query 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / json query 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / graphql join 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / json join 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / json query 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / sqlite / json query 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / graphql join 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql mariadb / graphql query 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql mariadb / graphql query 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / json join 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / sqlite / json query 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / graphql query 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql mariadb / json query 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / graphql join 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / graphql query 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / json join 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / json join 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / json join 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql mariadb / json query 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / graphql query 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / graphql join 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql mariadb / json query 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql mariadb / graphql query 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / json join 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / json query 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / json join 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / json join 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / graphql query 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / graphql join 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / query-engine-node-api on windows-latest

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.7 / json query 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / graphql query 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.7 / graphql query 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.6 / graphql query 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.6 / graphql query 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.7 / json query 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.6 / graphql query 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.7 / json query 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / graphql query 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.6 / json query 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.6 / graphql query 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / query-engine-node-api on macos-13

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / json query 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / json query 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.6 / json query 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / graphql query 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.7 / graphql query 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / graphql join 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.6 / json query 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / graphql join 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / query-engine on windows-latest

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / json query 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / graphql join 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / json query 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / graphql join 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / json query 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / json query 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / graphql join 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / graphql query 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / json query 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / graphql join 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / graphql join 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.1 / graphql join 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.2 / graphql join 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.1 / graphql join 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 9 / json join 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 9 / json join 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / json query 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 9 / graphql query 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 9 / json query 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 9 / graphql query 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 9 / graphql query 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 9 / json join 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / json query 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / json join 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 9 / graphql join 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 9 / json query 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 9 / graphql join 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / json join 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 9 / graphql join 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / json query 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / graphql join 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / graphql query 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / graphql query 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / json join 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / graphql join 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / json query 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / graphql query 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / graphql query 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / json query 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / graphql join 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / json join 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / graphql query 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / graphql query 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / json join 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / graphql join 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / graphql query 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / json join 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / graphql join 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / graphql join 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / json join 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / json join 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / json query 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / graphql join 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / json join 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / graphql query 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / json query 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / graphql query 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / graphql join 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / graphql query 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / json join 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / json query 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / json join 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / json query 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 9 / json join 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.1 / graphql join 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / json join 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / json join 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / json query 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / graphql join 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / graphql query 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / graphql query 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / json join 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 9 / graphql query 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 9 / json query 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / json query 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.2 / graphql join 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / json query 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 9 / graphql join 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / json join 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / json query 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / json join 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / json join 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / json query 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / json query 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / json query 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.2 / graphql join 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / graphql query 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / json query 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / graphql query 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.1 / graphql join 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.1 / graphql query 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / json join 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / graphql query 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / json query 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / graphql query 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / json join 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / json query 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / graphql join 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / json join 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / graphql join 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.2 / json query 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 5 / json query 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.1 / graphql query 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mssql 2017 / graphql query 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mssql 2019 / graphql query 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 4.4 / json query 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 23.1 / json query 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 4.2 / json query 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 4.4 / json query 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mssql 2019 / graphql query 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 5 / json query 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 23.1 / json query 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 23.1 / json join 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 4.2 / graphql query 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 4.4 / graphql query 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 4.2 / graphql query 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 4.4 / json query 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 5 / graphql query 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 5 / json query 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 4.2 / json query 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 5 / json query 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mssql 2017 / json query 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 23.1 / graphql join 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mssql 2017 / graphql query 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 23.1 / graphql join 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 4.2 / json query 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mssql 2022 / graphql query 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mssql 2017 / json query 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mssql 2019 / json query 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.2 / json join 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 5 / graphql query 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 23.1 / json join 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 5 / graphql query 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mssql 2019 / json query 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.1 / json join 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 23.1 / json query 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mssql 2017 / json query 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mssql 2017 / graphql query 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 23.1 / graphql join 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mssql 2022 / graphql query 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 23.1 / json query 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 4.2 / graphql query 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mssql 2022 / graphql query 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 4.2 / graphql query 2/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.1 / json query 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.2 / json join 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mssql 2019 / graphql query 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 23.1 / json join 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.2 / json query 1/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.1 / json query 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.1 / graphql query 4/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`

Check failure on line 5 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mssql 2017 / json query 3/4

unused imports: `ConditionValue`, `Filter`, `PlaceholderType`, `PrismaValue`, `QueryMode`, `RelationField`, `ScalarCondition`, `ScalarFilter`, and `ScalarProjection`
ScalarField, ScalarFilter, ScalarProjection,
};
use sql_query_connector::{
context::Context, model_extensions::AsColumns, query_arguments_ext::QueryArgumentsExt, query_builder,
};

use crate::{
compiler::{expression::Expression, translate::TranslateResult},
ReadQuery, RelatedRecordsQuery,
compiler::{
expression::{Binding, Expression, JoinExpression},
translate::TranslateResult,
},
FilteredQuery, ReadQuery, RelatedRecordsQuery,

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / test (postgres16, false, postgres, 16)

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / test

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / clippy linting

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / run

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / query-engine on ubuntu-latest

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / query-engine-node-api on ubuntu-latest

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql mariadb / graphql query 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql mariadb / json query 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / graphql query 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / query-engine on macos-13

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.6 / json query 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.7 / graphql query 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.7 / graphql query 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.7 / json query 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / graphql join 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / graphql join 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / sqlite / json query 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / graphql join 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / json join 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / graphql query 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / sqlite / graphql query 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / json query 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / graphql query 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / graphql query 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / json query 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / sqlite / graphql query 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / graphql query 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / sqlite / graphql query 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / sqlite / graphql query 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / graphql join 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / json query 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / graphql query 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / graphql join 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / graphql join 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / json join 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / graphql join 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / json join 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / graphql join 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / graphql join 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / json join 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / graphql query 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / sqlite / json query 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / graphql query 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / json query 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / graphql join 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / json join 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / json query 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / sqlite / json query 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / graphql join 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql mariadb / graphql query 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql mariadb / graphql query 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / json join 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / sqlite / json query 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / graphql query 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql mariadb / json query 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / graphql join 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / graphql query 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / json join 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / json join 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / json join 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql mariadb / json query 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / graphql query 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / graphql join 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql mariadb / json query 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql mariadb / graphql query 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / json join 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / json query 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / json join 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / json join 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / graphql query 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / graphql join 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / query-engine-node-api on windows-latest

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.7 / json query 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / graphql query 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.7 / graphql query 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.6 / graphql query 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.6 / graphql query 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.7 / json query 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.6 / graphql query 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.7 / json query 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / graphql query 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.6 / json query 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.6 / graphql query 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / query-engine-node-api on macos-13

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / json query 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / json query 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.6 / json query 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / graphql query 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.7 / graphql query 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / graphql join 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.6 / json query 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / graphql join 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / query-engine on windows-latest

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / json query 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / graphql join 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / json query 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / graphql join 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / json query 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / json query 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / graphql join 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / graphql query 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / json query 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / graphql join 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / graphql join 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.1 / graphql join 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.2 / graphql join 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.1 / graphql join 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 9 / json join 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 9 / json join 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / json query 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 9 / graphql query 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 9 / json query 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 9 / graphql query 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 9 / graphql query 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 9 / json join 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / json query 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / json join 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 9 / graphql join 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 9 / json query 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 9 / graphql join 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / json join 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 9 / graphql join 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / json query 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / graphql join 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / graphql query 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / graphql query 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / json join 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / graphql join 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / json query 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / graphql query 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / graphql query 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / json query 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / graphql join 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / json join 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / graphql query 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / graphql query 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / json join 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / graphql join 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / graphql query 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / json join 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / graphql join 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / graphql join 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / json join 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / json join 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / json query 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / graphql join 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / json join 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / graphql query 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / json query 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / graphql query 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / graphql join 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / graphql query 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / json join 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / json query 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / json join 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / json query 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 9 / json join 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.1 / graphql join 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / json join 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / json join 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / json query 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / graphql join 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / graphql query 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / graphql query 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / json join 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 9 / graphql query 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 9 / json query 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / json query 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.2 / graphql join 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / json query 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 9 / graphql join 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / json join 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / json query 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / json join 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / json join 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / json query 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / json query 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / json query 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.2 / graphql join 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / graphql query 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / json query 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / graphql query 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.1 / graphql join 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.1 / graphql query 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / json join 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / graphql query 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / json query 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / graphql query 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / json join 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / json query 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / graphql join 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / json join 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / graphql join 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.2 / json query 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 5 / json query 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.1 / graphql query 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mssql 2017 / graphql query 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mssql 2019 / graphql query 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 4.4 / json query 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 23.1 / json query 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 4.2 / json query 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 4.4 / json query 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mssql 2019 / graphql query 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 5 / json query 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 23.1 / json query 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 23.1 / json join 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 4.2 / graphql query 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 4.4 / graphql query 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 4.2 / graphql query 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 4.4 / json query 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 5 / graphql query 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 5 / json query 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 4.2 / json query 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 5 / json query 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mssql 2017 / json query 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 23.1 / graphql join 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mssql 2017 / graphql query 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 23.1 / graphql join 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 4.2 / json query 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mssql 2022 / graphql query 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mssql 2017 / json query 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mssql 2019 / json query 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.2 / json join 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 5 / graphql query 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 23.1 / json join 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 5 / graphql query 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mssql 2019 / json query 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.1 / json join 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 23.1 / json query 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mssql 2017 / json query 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mssql 2017 / graphql query 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 23.1 / graphql join 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mssql 2022 / graphql query 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 23.1 / json query 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 4.2 / graphql query 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mssql 2022 / graphql query 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 4.2 / graphql query 2/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.1 / json query 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.2 / json join 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mssql 2019 / graphql query 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 23.1 / json join 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.2 / json query 1/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.1 / json query 3/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.1 / graphql query 4/4

unused import: `FilteredQuery`

Check failure on line 17 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mssql 2017 / json query 3/4

unused import: `FilteredQuery`
};

use super::build_db_query;

pub(crate) fn translate_read_query(query: ReadQuery, ctx: &Context<'_>) -> TranslateResult<Expression> {
let all_linking_fields = query
.nested_related_records_queries()
.flat_map(|rrq| rrq.parent_field.linking_fields())
.collect::<HashSet<_>>();

Ok(match query {
ReadQuery::RecordQuery(rq) => {
let selected_fields = rq.selected_fields.without_relations().into_virtuals_last();
Expand All @@ -26,7 +40,66 @@ pub(crate) fn translate_read_query(query: ReadQuery, ctx: &Context<'_>) -> Trans
)
.limit(1);

Expression::Query(build_db_query(query)?)
let expr = Expression::Query(build_db_query(query)?);

if rq.nested.is_empty() {
return Ok(expr);
}

Expression::Let {
bindings: vec![Binding {
name: "@parent".into(),
expr,
}],
expr: Box::new(Expression::Let {
bindings: all_linking_fields
.into_iter()
.map(|sf| Binding {
name: format!("@parent.{}", sf.prisma_name().into_owned()),
expr: Expression::MapField {
field: sf.prisma_name().into_owned(),
records: Box::new(Expression::Get { name: "@parent".into() }),
},
})
.collect(),
expr: Box::new(Expression::Join {
parent: Box::new(Expression::Get { name: "@parent".into() }),
children: rq
.nested
.into_iter()
.filter_map(|nested| match nested {
ReadQuery::RelatedRecordsQuery(rrq) => Some(rrq),
_ => None,
})
.map(|rrq| -> TranslateResult<JoinExpression> {
let parent_fields = rrq.parent_field.linking_fields();
let child_fields = rrq.parent_field.related_field().linking_fields();

let join_expr = parent_fields
.scalars()
.zip(child_fields.scalars())
.map(|(left, right)| (left.name().to_owned(), right.name().to_owned()))
.collect_vec();

// nested.add_filter(Filter::Scalar(ScalarFilter {
// mode: QueryMode::Default,
// condition: ScalarCondition::Equals(ConditionValue::value(PrismaValue::placeholder(
// "parent_id".into(),
// PlaceholderType::String,
// ))),
// projection: ScalarProjection::Compound(referenced_fields),
// }));
let child_query = translate_read_query(ReadQuery::RelatedRecordsQuery(rrq), ctx)?;

Ok(JoinExpression {
child: child_query,
on: join_expr,
})
})
.try_collect()?,
}),
}),
}
}

ReadQuery::ManyRecordsQuery(mrq) => {
Expand Down Expand Up @@ -61,14 +134,45 @@ pub(crate) fn translate_read_query(query: ReadQuery, ctx: &Context<'_>) -> Trans
}
}

_ => unimplemented!(),
_ => todo!(),
})
}

fn build_read_m2m_query(_query: RelatedRecordsQuery, _ctx: &Context<'_>) -> TranslateResult<Expression> {
todo!()
}

fn build_read_one2m_query(_query: RelatedRecordsQuery, _ctx: &Context<'_>) -> TranslateResult<Expression> {
todo!()
fn build_read_one2m_query(rrq: RelatedRecordsQuery, ctx: &Context<'_>) -> TranslateResult<Expression> {
let selected_fields = rrq.selected_fields.without_relations().into_virtuals_last();
let needs_reversed_order = rrq.args.needs_reversed_order();

// TODO: we ignore chunking for now
let query = query_builder::read::get_records(
&rrq.parent_field.related_model(),
ModelProjection::from(&selected_fields)
.as_columns(ctx)
.mark_all_selected(),
selected_fields.virtuals(),
rrq.args,
ctx,
);

let expr = Expression::Query(build_db_query(query)?);

if needs_reversed_order {
Ok(Expression::Reverse(Box::new(expr)))
} else {
Ok(expr)
}
}

fn collect_referenced_fields(nested_queries: &[ReadQuery]) -> HashSet<ScalarField> {

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / test (postgres16, false, postgres, 16)

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / test

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / clippy linting

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / run

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / query-engine on ubuntu-latest

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / query-engine-node-api on ubuntu-latest

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql mariadb / graphql query 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql mariadb / json query 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / graphql query 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / query-engine on macos-13

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.6 / json query 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.7 / graphql query 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.7 / graphql query 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.7 / json query 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / graphql join 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / graphql join 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / sqlite / json query 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / graphql join 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / json join 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / graphql query 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / sqlite / graphql query 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / json query 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / graphql query 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / graphql query 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / json query 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / sqlite / graphql query 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / graphql query 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / sqlite / graphql query 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / sqlite / graphql query 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / graphql join 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / json query 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / graphql query 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / graphql join 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / graphql join 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / json join 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / graphql join 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / json join 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / graphql join 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / graphql join 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / json join 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / graphql query 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / sqlite / json query 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / graphql query 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / json query 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / graphql join 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / json join 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / json query 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / sqlite / json query 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / graphql join 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql mariadb / graphql query 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql mariadb / graphql query 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / json join 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / sqlite / json query 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / graphql query 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql mariadb / json query 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / graphql join 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / graphql query 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / json join 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / json join 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / json join 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql mariadb / json query 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / graphql query 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / graphql join 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql mariadb / json query 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql mariadb / graphql query 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / json join 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / json query 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / json join 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / json join 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / graphql query 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / graphql join 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / query-engine-node-api on windows-latest

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.7 / json query 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / graphql query 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.7 / graphql query 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.6 / graphql query 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.6 / graphql query 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.7 / json query 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.6 / graphql query 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.7 / json query 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / graphql query 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.6 / json query 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.6 / graphql query 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / query-engine-node-api on macos-13

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / json query 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / json query 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.6 / json query 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / graphql query 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.7 / graphql query 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / graphql join 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 5.6 / json query 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / graphql join 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / query-engine on windows-latest

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mysql 8 / json query 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / graphql join 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / json query 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / graphql join 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / json query 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / json query 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / graphql join 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / graphql query 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / json query 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / graphql join 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / graphql join 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.1 / graphql join 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.2 / graphql join 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.1 / graphql join 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 9 / json join 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 9 / json join 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / json query 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 9 / graphql query 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 9 / json query 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 9 / graphql query 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 9 / graphql query 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 9 / json join 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / json query 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / json join 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 9 / graphql join 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 9 / json query 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 9 / graphql join 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / json join 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 9 / graphql join 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / json query 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / graphql join 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / graphql query 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / graphql query 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / json join 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / graphql join 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / json query 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / graphql query 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / graphql query 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / json query 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / graphql join 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / json join 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / graphql query 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / graphql query 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / json join 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / graphql join 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / graphql query 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / json join 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / graphql join 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / graphql join 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / json join 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / json join 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / json query 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / graphql join 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / json join 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / graphql query 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / graphql query 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / json query 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / graphql join 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / graphql query 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / json join 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / json query 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / json join 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / json query 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 9 / json join 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.1 / graphql join 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / json join 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / json join 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / json query 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / graphql join 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 15 / graphql query 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / graphql query 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / json join 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 9 / graphql query 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 9 / json query 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / json query 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.2 / graphql join 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / json query 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 9 / graphql join 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / json join 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / json query 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / json join 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / json join 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / json query 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 10 / json query 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / json query 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.2 / graphql join 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / graphql query 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / json query 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / graphql query 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.1 / graphql join 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.1 / graphql query 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / json join 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / graphql query 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 11 / json query 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 14 / graphql query 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 12 / json join 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / json query 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / graphql join 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 16 / json join 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / postgres 13 / graphql join 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.2 / json query 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 5 / json query 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.1 / graphql query 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mssql 2017 / graphql query 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mssql 2019 / graphql query 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 4.4 / json query 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 23.1 / json query 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 4.2 / json query 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 4.4 / json query 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mssql 2019 / graphql query 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 5 / json query 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 23.1 / json query 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 23.1 / json join 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 4.2 / graphql query 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 4.4 / graphql query 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 4.2 / graphql query 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 4.4 / json query 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 5 / graphql query 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 5 / json query 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 4.2 / json query 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 5 / json query 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mssql 2017 / json query 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 23.1 / graphql join 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mssql 2017 / graphql query 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 23.1 / graphql join 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 4.2 / json query 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mssql 2022 / graphql query 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mssql 2017 / json query 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mssql 2019 / json query 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.2 / json join 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 5 / graphql query 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 23.1 / json join 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 5 / graphql query 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mssql 2019 / json query 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.1 / json join 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 23.1 / json query 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mssql 2017 / json query 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mssql 2017 / graphql query 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 23.1 / graphql join 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mssql 2022 / graphql query 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 23.1 / json query 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 4.2 / graphql query 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mssql 2022 / graphql query 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mongodb 4.2 / graphql query 2/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.1 / json query 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.2 / json join 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / mssql 2019 / graphql query 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 23.1 / json join 4/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.2 / json query 1/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.1 / json query 3/4

function `collect_referenced_fields` is never used

Check failure on line 169 in query-engine/core/src/compiler/translate/query/read.rs

View workflow job for this annotation

GitHub Actions / cockroachdb 22.1 / graphql query 4/4

function `collect_referenced_fields` is never used
nested_queries
.iter()
.filter_map(|rq| match rq {
ReadQuery::RelatedRecordsQuery(rrq) => Some(rrq),
_ => None,
})
.flat_map(|rrq| rrq.parent_field.referenced_fields())
.collect()
}
16 changes: 16 additions & 0 deletions query-engine/core/src/query_ast/read.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,22 @@ impl ReadQuery {
ReadQuery::AggregateRecordsQuery(_) => false,
}
}

fn nested(&self) -> &[ReadQuery] {
match self {
ReadQuery::RecordQuery(x) => &x.nested,
ReadQuery::ManyRecordsQuery(x) => &x.nested,
ReadQuery::RelatedRecordsQuery(x) => &x.nested,
ReadQuery::AggregateRecordsQuery(_) => &[],
}
}

pub fn nested_related_records_queries(&self) -> impl Iterator<Item = &RelatedRecordsQuery> + '_ {
self.nested().iter().filter_map(|q| match q {
ReadQuery::RelatedRecordsQuery(rrq) => Some(rrq),
_ => None,
})
}
}

impl FilteredQuery for ReadQuery {
Expand Down
10 changes: 7 additions & 3 deletions query-engine/query-engine/examples/compiler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,18 @@ pub fn main() -> anyhow::Result<()> {
let schema = Arc::new(schema);
let query_schema = Arc::new(query_core::schema::build(schema, true));

// prisma.user.findMany({
// prisma.user.findUnique({
// where: {
// email: Prisma.Param("userEmail")
// },
// select: {
// val: true,
// posts: true,
// }
// })
let query: JsonSingleQuery = serde_json::from_value(json!({
"modelName": "User",
"action": "findMany",
"action": "findUnique",
"query": {
"arguments": {
"where": {
Expand All @@ -33,7 +37,7 @@ pub fn main() -> anyhow::Result<()> {
}
},
"selection": {
"$scalars": true,
"val": true,
"posts": {
"arguments": {},
"selection": {
Expand Down

0 comments on commit 3b48a79

Please sign in to comment.