INTERFACE

HasRecordsInterface

# GraphQL Schema definition

1interface HasRecordsInterface {
 
2# Defines has-one relation with other record; ex: children: records(table: "child"
3# join_on_property: "parent_id" foreign_property: "parent_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: Load resources with foreign_property ==
10# join_on_property
11# sort: [Not documented]
12# table: Joins record [formaly customization] with
13# record-schema-name == table
14related_record(
15filter: RecordsFilterInput,
16foreign_property: String,
17join_on_property: String!,
18sort: [RecordsSortInput!],
19table: [String]!
20): Record
 
21# Defines has-many relation with other records; ex: children:
22# related_records(table: "children", join_on_property: "parent_id",
23# foreign_property: "parent_id") { id }
24#
25# Arguments
26# filter: [Not documented]
27# foreign_property: Load resources with foreign_property ==
28# join_on_property
29# join_on_property: Load resources with foreign_property ==
30# join_on_property
31# limit: [Not documented]
32# sort: [Not documented]
33# table: Define table name which should be used as a source for
34# related records
35related_records(
36filter: RecordsFilterInput,
37foreign_property: String!,
38join_on_property: String!,
39limit: Int,
40sort: [RecordsSortInput!],
41table: [String]!
42): [Record!]
 
43}

# Required by