Cargo Features

[dependencies]
grafbase-sql-ast = { version = "0.1.9", default-features = false, features = ["postgresql", "mysql", "sqlite"] }
default = mysql, postgresql, sqlite

These default features are set whenever grafbase-sql-ast is added without default-features = false somewhere in the dependency tree.

postgresql default

Affects compare::Comparable.any, compare::Comparable.all, row_to_json::RowToJson, row_to_json::row_to_json, renderer::Renderer.visit_to_jsonb, renderer::Renderer.visit_json_build_object, renderer::Renderer.visit_json_agg, renderer::Renderer.visit_encode, compare::Comparable.array_overlaps, compare::Comparable.array_contains, compare::Comparable.array_contained, compare::Comparable.json_array_not_contains, compare::Comparable.json_array_begins_with, compare::Comparable.json_array_not_begins_with, compare::Comparable.json_array_ends_into, compare::Comparable.json_array_not_ends_into, compare::Comparable.json_type_equals, compare::Comparable.json_type_not_equals, renderer::Renderer.visit_json_extract, renderer::Renderer.visit_json_extract_last_array_item

mysql default

Affects compare::Comparable.array_overlaps, compare::Comparable.array_contains, compare::Comparable.array_contained, compare::Comparable.json_array_not_contains, compare::Comparable.json_array_begins_with, compare::Comparable.json_array_not_begins_with, compare::Comparable.json_array_ends_into, compare::Comparable.json_array_not_ends_into, compare::Comparable.json_type_equals, compare::Comparable.json_type_not_equals, renderer::Renderer.visit_json_extract, renderer::Renderer.visit_json_extract_last_array_item, renderer::Renderer.visit_json_extract_first_array_item, renderer::Renderer.visit_array_contains, renderer::Renderer.visit_array_contained, renderer::Renderer.visit_array_overlaps, renderer::Renderer.visit_json_type_equals, renderer::Renderer.visit_json_unquote

sqlite default