Transactable
No description
type Transactable implements RelationOnDemandInterface {
created_at: JSONDate
creator: User
creator_id: ID
custom_address(name: String!): CustomAddrress
custom_image(name: String!): [ListingImage]
customizations(id: ID, name: String, user_id: ID): [Customization!]
external_id: ID
id: ID!
is_deleted: Boolean
model(
foreign_property: String = "id"
join_on_property: String
model_name: String
): ListingsCustomization
models(
foreign_property: String!
join_on_property: String!
model_name: [String]
): [ListingsCustomization!]
name: String
property(name: String!): String
property_array(name: String!): [String!]!
related_model(
foreign_property: String = "id"
join_on_property: String
model_schema_name: String
): ListingsCustomization
related_models(
foreign_property: String!
join_on_property: String!
model_schema_name: [String]
): [ListingsCustomization!]
related_user(
foreign_property: String = "id"
join_on_property: String = "user_id"
): User
slug: String!
updated_at: JSONDate
user(
foreign_property: String = "id"
join_on_property: String = "user_id"
): User
}
Fields
created_at
(JSONDate
)
creator
(User
)
creator_id
(ID
)
custom_address
(CustomAddrress
)
-
name
(String
)
custom_image
(ListingImage
)
-
name
(String
)
customizations
(Customization
)
Fetch any customization by name or id; ex: hair_color: customization(name: "hair_color")
external_id
(ID
)
id
(ID
)
is_deleted
(Boolean
)
model
(ListingsCustomization
)
Defines belongs-to relation with other model; ex: parent: model(model_name:
"parent", join_on_property: "parent_id") { id }
-
foreign_property
(String
)
Load resources with foreign_property == join_on_property
-
join_on_property
(String
)
Load remote resource with id == join_on_property
-
model_name
(String
)
Joins model [formaly customization] with custom-model-type-name == model_name
models
(ListingsCustomization
)
Defines has-many relation with other model; ex: children: models(model_name:
"child", join_on_property: "parent_id", foreign_property: "parent_id") { id }
-
foreign_property
(String
)
Load resources with foreign_property == join_on_property
-
join_on_property
(String
)
Load resources with foreign_property == join_on_property
-
model_name
(String
)
Joins model [formaly customization] with custom-model-type-name == model_name
name
(String
)
property
(String
)
Fetch any Property by name; ex: hair_color: property(name: "hair_color")
-
name
(String
)
property_array
(String
)
-
name
(String
)
related_model
(ListingsCustomization
)
Defines belongs-to relation with other model; ex: parent: model(model_name:
"parent", join_on_property: "parent_id") { id }
-
foreign_property
(String
)
Load resources with foreign_property == join_on_property
-
join_on_property
(String
)
Load remote resource with id == join_on_property
-
model_schema_name
(String
)
Joins model [formaly customization] with custom-model-type-name == model_name
related_models
(ListingsCustomization
)
Defines has-many relation with other model, returns maximum of 10000 records
at once; ex: children: models(model_name: "child", join_on_property:
"parent_id", foreign_property: "parent_id") { id }
-
foreign_property
(String
)
Load resources with foreign_property == join_on_property
-
join_on_property
(String
)
Load resources with foreign_property == join_on_property
-
model_schema_name
(String
)
Joins model [formaly customization] with custom-model-type-name == model_name
related_user
(User
)
Defines relation with other user, returns maximum of 10000 records at once;
ex: invited_by: user(join_on_property: "invited_by_id") { id }
slug
(String
)
updated_at
(JSONDate
)
user
(User
)
Defines relation with other user; ex: invited_by: user(join_on_property: "invited_by_id") { id }