# Example Address: GraphQL surface reflected by pg_graphql from example_address.address. # Documentation only; the live schema is available by introspection at # POST http://localhost:20000/rpc/example_address_graphql (GRAPHQL_PORT of a domain at port base 20000). type Address implements Node { nodeId: ID! addressId: UUID! addressType: String # enum:Address Type, enforced by CHECK in the ODS addressLine1: String addressLine2: String suburb: String city: String stateOrRegion: String postcode: String country: String! createdAt: Datetime! updatedAt: Datetime! } extend type Query { addressCollection( first: Int, last: Int, before: Cursor, after: Cursor, filter: AddressFilter, orderBy: [AddressOrderBy!] ): AddressConnection } extend type Mutation { insertIntoAddressCollection(objects: [AddressInsertInput!]!): AddressInsertResponse updateAddressCollection(set: AddressUpdateInput!, filter: AddressFilter, atMost: Int! = 1): AddressUpdateResponse deleteFromAddressCollection(filter: AddressFilter, atMost: Int! = 1): AddressDeleteResponse }