Crate query_structure
source ·Re-exports
Modules
- Note: Only number operations are implemented at the moment.
- The AST data structure. It aims to faithfully represent the syntax of a Prisma Schema, with source span information.
- Filtering types to select records from the database
- Convenient access to a datamodel as understood by ParserDatabase.
Structs
- Represents a default specified on a field.
- A selection of fields from a model.
- Projection of a
Model
. A projection is a (sub)set of fields of a model. There can only ever be fields of one model contained in a particularModelProjection
- Represents an instance of a native type declared in the Prisma schema.
QueryArguments
define various constraints queried data should fulfill:- Represents a set of results.
Enums
- Represents a default specified on a field.
- An arity of a data model field.
- Describes a hop over to a relation or composite for an orderBy statement.
- A selected field. Can be contained on a model or composite type.
Functions
- Parses an RFC 3339 and ISO 8601 date and time string such as 1996-12-19T16:39:57-08:00, then returns a new DateTime with a parsed FixedOffset.
- Stringify a date to the following format 1999-05-01T00:00:00.000Z