Skip to content
Pyck docs

You are reading the Dev docs (main @ e991a08). They can differ from the released product.Dev docs, not the release

Switch to LatestLatest

dataTypes

Served by: management

Name Type Description
after Cursor Returns the elements in the list that come after the specified cursor.
first Int Returns the first n elements from the list.
before Cursor Returns the elements in the list that come before the specified cursor.
last Int Returns the last n elements from the list.
orderBy DataTypeOrder Ordering options for DataTypes returned from the connection.
where DataTypeWhereInput Filtering options for DataTypes returned from the connection.

DataTypeConnection!

Lists data types with pagination and optional filters.

query GetDataTypes($after: Cursor, $first: Int, $before: Cursor, $last: Int, $orderBy: DataTypeOrder, $where: DataTypeWhereInput) {
dataTypes(after: $after, first: $first, before: $before, last: $last, orderBy: $orderBy, where: $where) {
totalCount
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
cursor
node {
createdAt
createdBy
default
deletedAt
deletedBy
description
entity
frontendSchema
id
jsonSchema
name
slug
tenantID
updatedAt
updatedBy
version
}
}
}
}

Variables

{
"first": 10,
"orderBy": {
"direction": "ASC",
"field": "CREATED_AT"
}
}