Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "category": "FUNCTION",
- "operation": "FETCH_ALL",
- "type": "STRING",
- "rank": "TUPLE",
- "operands": [
- {
- "category": "ID",
- "type": "DATASET",
- "alias": "species_dataset",
- "id": {
- "type": "CATALOGUE",
- "service": "test-application",
- "register": "handbook",
- "catalogue": "111e4567-e89b-12d3-a456-426655440002"
- }
- },
- {
- "category": "ENTITY_ATTRIBUTE",
- "type": "STRING",
- "path": "name",
- "field": {
- "schema": "public",
- "table": "handbook_entry_version",
- "field": "data"
- }
- },
- {
- "category": "PREDICATE",
- "operation": "EXISTS",
- "operands": [
- {
- "category": "ID",
- "type": "DATASET",
- "alias": "planet_dataset",
- "id": {
- "type": "CATALOGUE",
- "service": "test-application",
- "register": "handbook",
- "catalogue": "111e4567-e89b-12d3-a456-426655440001"
- }
- },
- {
- "category": "PREDICATE",
- "operation": "AND",
- "operands": [
- {
- "category": "PREDICATE",
- "operation": "EQ",
- "operands": [
- {
- "category": "FUNCTION",
- "operation": "POINTER",
- "type": "UUID",
- "rank": "VALUE",
- "operands": [
- {
- "category": "ENTITY_ATTRIBUTE",
- "type": "REFERENCE",
- "path": "native",
- "field": {
- "schema": "public",
- "table": "handbook_entry_version",
- "field": "data"
- }
- }
- ]
- },
- {
- "category": "ENTITY_ATTRIBUTE",
- "type": "UUID",
- "collection": "species_dataset",
- "field": {
- "schema": "public",
- "table": "handbook_entry_version",
- "field": "entry_id"
- }
- }
- ]
- },
- {
- "category": "PREDICATE",
- "operation": "EQ",
- "operands": [
- {
- "category": "ENTITY_ATTRIBUTE",
- "type": "INTEGER",
- "path": "suns",
- "field": {
- "schema": "public",
- "table": "handbook_entry_version",
- "field": "data"
- }
- },
- {
- "category": "LITERAL",
- "type": "INTEGER",
- "value": "2"
- }
- ]
- }
- ]
- }
- ]
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment