INTERFACE

HasModelsInterface

# GraphQL Schema definition

1interface HasModelsInterface {
 
2# Defines relation with other user; ex: invited_by: related_user(join_on_property:
3# "invited_by_id") { id }
4#
5# Arguments
6# filter: [Not documented]
7# foreign_property: Load resources with foreign_property ==
8# join_on_property
9# join_on_property:
10# sort: [Not documented]
11related_user(
12filter: ModelsFilterInput,
13foreign_property: String,
14join_on_property: String,
15sort: [UsersSortInput!]
16): User
 
17# Defines has-many relation with other user; ex: children: users(join_on_property:
18# "parent_id", foreign_property: "parent_id") { id }
19#
20# Arguments
21# filter: [Not documented]
22# foreign_property: Load resources with foreign_property ==
23# join_on_property
24# join_on_property: Load resources with foreign_property ==
25# join_on_property
26# limit: [Not documented]
27# sort: [Not documented]
28related_users(
29filter: ModelsFilterInput,
30foreign_property: String!,
31join_on_property: String!,
32limit: Int,
33sort: [UsersSortInput!]
34): [User!]
 
35}

# Required by