Skip to content

Instantly share code, notes, and snippets.

@alculquicondor
Created August 22, 2015 19:39
Show Gist options
  • Select an option

  • Save alculquicondor/7291132688c0f72bf558 to your computer and use it in GitHub Desktop.

Select an option

Save alculquicondor/7291132688c0f72bf558 to your computer and use it in GitHub Desktop.
{u'all': False,
u'distinctClause': None,
u'fromClause': [{u'RANGEVAR': {u'alias': {u'ALIAS': {u'aliasname': u'paths',
u'colnames': None}},
u'inhOpt': 2,
u'location': 21,
u'relname': u'dataset_12618',
u'relpersistence': u'p',
u'schemaname': None}},
{u'RANGEVAR': {u'alias': {u'ALIAS': {u'aliasname': u'points',
u'colnames': None}},
u'inhOpt': 2,
u'location': 45,
u'relname': u'dataset_12617',
u'relpersistence': u'p',
u'schemaname': None}}],
u'groupClause': None,
u'havingClause': None,
u'intoClause': None,
u'larg': None,
u'limitCount': None,
u'limitOffset': None,
u'lockingClause': None,
u'op': 0,
u'rarg': None,
u'sortClause': None,
u'targetList': [{u'RESTARGET': {u'indirection': None,
u'location': 8,
u'name': None,
u'val': {u'COLUMNREF': {u'fields': [u'paths', {u'A_STAR': {}}],
u'location': 8}}}}],
u'valuesLists': None,
u'whereClause': {u'AEXPR AND': {u'lexpr': {u'AEXPR': {u'lexpr': {u'TYPECAST': {u'arg': {u'FUNCCALL': {u'agg_distinct': False,
u'agg_filter': None,
u'agg_order': None,
u'agg_star': False,
u'agg_within_group': False,
u'args': [{u'TYPECAST': {u'arg': {u'COLUMNREF': {u'fields': [u'points',
u'location'],
u'location': 85}},
u'location': 100,
u'typeName': {u'TYPENAME': {u'arrayBounds': None,
u'location': 102,
u'names': [u'geography'],
u'pct_type': False,
u'setof': False,
u'typeOid': 0,
u'typemod': -1,
u'typmods': None}}}},
{u'A_CONST': {u'location': 113, u'val': 200}}],
u'func_variadic': False,
u'funcname': [u'st_buffer'],
u'location': 75,
u'over': None}},
u'location': 117,
u'typeName': {u'TYPENAME': {u'arrayBounds': None,
u'location': 119,
u'names': [u'geometry'],
u'pct_type': False,
u'setof': False,
u'typeOid': 0,
u'typemod': -1,
u'typmods': None}}}},
u'location': 128,
u'name': [u'&&'],
u'rexpr': {u'COLUMNREF': {u'fields': [u'path'], u'location': 131}}}},
u'location': 136,
u'rexpr': {u'AEXPR': {u'lexpr': {u'COLUMNREF': {u'fields': [u'points',
u'added_by'],
u'location': 140}},
u'location': 156,
u'name': [u'='],
u'rexpr': {u'A_CONST': {u'location': 158,
u'val': u'aldo@amigocloud.com'}}}}}},
u'windowClause': None,
u'withClause': None}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment