INTERFACE
HasRecordsInterface
# GraphQL Schema definition
1 interface 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 14 ( 15 RecordsFilterInput, : 16 String, : 17 String!, : 18 RecordsSortInput!], : [ 19 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 35 ( 36 RecordsFilterInput, : 37 String!, : 38 String!, : 39 Int, : 40 RecordsSortInput!], : [ 41 String]! : [ 42 ): [Record!] 43 }