RelationOnDemandInterface
Deprecated relations of legacy objects to models and users
interface RelationOnDemandInterface {
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!]
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
user(
foreign_property: String = "id"
join_on_property: String = "user_id"
): User
}
Fields
model (ListingsCustomization)
Returns the related model. Deprecated, use related_model
-
foreign_property(String)
Name of the property of the related object that must equal the value of join_on_property
-
join_on_property(String)
Name of the property of this object whose value is matched against foreign_property
-
model_name(String)
Name of the model schema (table) of the related models
models (ListingsCustomization)
Returns related models. Deprecated, use related_models
-
foreign_property(String)
Name of the property of the related object that must equal the value of join_on_property
-
join_on_property(String)
Name of the property of this object whose value is matched against foreign_property
-
model_name(String)
Name of the model schema (table) of the related models
related_model (ListingsCustomization)
Returns the model whose foreign_property equals the value of join_on_property
of this object (belongs-to relation). Legacy relation, use related_record of Record instead
-
foreign_property(String)
Name of the property of the related object that must equal the value of join_on_property
-
join_on_property(String)
Name of the property of this object whose value is matched against foreign_property
-
model_schema_name(String)
Name of the model schema (table) of the related models
related_models (ListingsCustomization)
Returns models whose foreign_property equals the value of join_on_property of
this object (has-many relation), at most 10000 at once. Legacy relation, use
related_records of Record instead
-
foreign_property(String)
Name of the property of the related object that must equal the value of join_on_property
-
join_on_property(String)
Name of the property of this object whose value is matched against foreign_property
-
model_schema_name(String)
Name of the model schema (table) of the related models
related_user (User)
Returns the user whose foreign_property equals the value of join_on_property
of this object; by default the user whose id is in user_id
-
foreign_property(String)
Name of the user attribute that must equal the value of join_on_property
-
join_on_property(String)
Name of the property of this object holding the user id
user (User)
Returns the related user. Deprecated, use related_user
-
foreign_property(String)
Name of the user attribute that must equal the value of join_on_property
-
join_on_property(String)
Name of the property of this object holding the user id