Crate edgedb_codegen_core

Source

Structs§

Char
IdentConst

Enums§

Error
StructElement

Constants§

EXPORTS_IDENT
INPUT_NAME
Name of the input struct.
OUTPUT_NAME
Name of the output struct.
PROPS_NAME
QUERY_CONSTANT
QUERY_NAME
Name of the query function.
QUERY_PROP_NAME
TRANSACTION_NAME
TRANSACTION_PROP_NAME
TYPES_QUERY
Query to get all types in the database.

Functions§

explore_object_shape_descriptor
generate_rust_from_query
get_descriptor
Get the descriptor asynchronously.
get_descriptor_sync
Get the descriptor synchronously.
get_types
prettify
Will format the given source code using prettyplease.
resolve_path
Taken from https://github.com/launchbadge/sqlx/blob/f69f370f25f099fd5732a5383ceffc76f724c482/sqlx-macros-core/src/common.rs#L1C1-L37C2
rustfmt
Will format the given source code using rustfmt.

Type Aliases§

Result