File: tests/expected/parser/issue138.serialized

Recommend this page to a friend!
  Classes of Michael Cummings  >  PHP SQL Parser Class  >  tests/expected/parser/issue138.serialized  >  Download  
File: tests/expected/parser/issue138.serialized
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP SQL Parser Class
Parse SQL to extract the SQL query structure
Author: By
Last change:
Date: 2 years ago
Size: 3,752 bytes
 

 

Contents

Class file image Download
a:3:{s:6:"SELECT";a:5:{i:0;a:6:{s:9:"expr_type";s:6:"colref";s:5:"alias";b:0;s:9:"base_expr";s:5:"ivoid";s:9:"no_quotes";a:2:{s:5:"delim";b:0;s:5:"parts";a:1:{i:0;s:5:"ivoid";}}s:8:"sub_tree";b:0;s:5:"delim";s:1:",";}i:1;a:6:{s:9:"expr_type";s:6:"colref";s:5:"alias";b:0;s:9:"base_expr";s:10:"access_url";s:9:"no_quotes";a:2:{s:5:"delim";b:0;s:5:"parts";a:1:{i:0;s:10:"access_url";}}s:8:"sub_tree";b:0;s:5:"delim";s:1:",";}i:2;a:6:{s:9:"expr_type";s:6:"colref";s:5:"alias";b:0;s:9:"base_expr";s:4:"name";s:9:"no_quotes";a:2:{s:5:"delim";b:0;s:5:"parts";a:1:{i:0;s:4:"name";}}s:8:"sub_tree";b:0;s:5:"delim";s:1:",";}i:3;a:6:{s:9:"expr_type";s:6:"colref";s:5:"alias";b:0;s:9:"base_expr";s:3:"ucd";s:9:"no_quotes";a:2:{s:5:"delim";b:0;s:5:"parts";a:1:{i:0;s:3:"ucd";}}s:8:"sub_tree";b:0;s:5:"delim";s:1:",";}i:4;a:6:{s:9:"expr_type";s:6:"colref";s:5:"alias";b:0;s:9:"base_expr";s:11:"description";s:9:"no_quotes";a:2:{s:5:"delim";b:0;s:5:"parts";a:1:{i:0;s:11:"description";}}s:8:"sub_tree";b:0;s:5:"delim";b:0;}}s:4:"FROM";a:4:{i:0;a:10:{s:9:"expr_type";s:5:"table";s:5:"table";s:13:"rr.capability";s:9:"no_quotes";a:2:{s:5:"delim";s:1:".";s:5:"parts";a:2:{i:0;s:2:"rr";i:1;s:10:"capability";}}s:5:"alias";b:0;s:5:"hints";b:0;s:9:"join_type";s:4:"JOIN";s:8:"ref_type";b:0;s:10:"ref_clause";b:0;s:9:"base_expr";s:13:"rr.capability";s:8:"sub_tree";b:0;}i:1;a:10:{s:9:"expr_type";s:5:"table";s:5:"table";s:12:"rr.interface";s:9:"no_quotes";a:2:{s:5:"delim";s:1:".";s:5:"parts";a:2:{i:0;s:2:"rr";i:1;s:9:"interface";}}s:5:"alias";b:0;s:5:"hints";b:0;s:9:"join_type";s:7:"NATURAL";s:8:"ref_type";b:0;s:10:"ref_clause";b:0;s:9:"base_expr";s:12:"rr.interface";s:8:"sub_tree";b:0;}i:2;a:10:{s:9:"expr_type";s:5:"table";s:5:"table";s:15:"rr.table_column";s:9:"no_quotes";a:2:{s:5:"delim";s:1:".";s:5:"parts";a:2:{i:0;s:2:"rr";i:1;s:12:"table_column";}}s:5:"alias";b:0;s:5:"hints";b:0;s:9:"join_type";s:7:"NATURAL";s:8:"ref_type";b:0;s:10:"ref_clause";b:0;s:9:"base_expr";s:15:"rr.table_column";s:8:"sub_tree";b:0;}i:3;a:10:{s:9:"expr_type";s:5:"table";s:5:"table";s:12:"rr.res_table";s:9:"no_quotes";a:2:{s:5:"delim";s:1:".";s:5:"parts";a:2:{i:0;s:2:"rr";i:1;s:9:"res_table";}}s:5:"alias";b:0;s:5:"hints";b:0;s:9:"join_type";s:7:"NATURAL";s:8:"ref_type";b:0;s:10:"ref_clause";b:0;s:9:"base_expr";s:12:"rr.res_table";s:8:"sub_tree";b:0;}}s:5:"WHERE";a:11:{i:0;a:4:{s:9:"expr_type";s:6:"colref";s:9:"base_expr";s:11:"standard_id";s:9:"no_quotes";a:2:{s:5:"delim";b:0;s:5:"parts";a:1:{i:0;s:11:"standard_id";}}s:8:"sub_tree";b:0;}i:1;a:3:{s:9:"expr_type";s:8:"operator";s:9:"base_expr";s:1:"=";s:8:"sub_tree";b:0;}i:2;a:3:{s:9:"expr_type";s:5:"const";s:9:"base_expr";s:24:"'ivo://ivoa.net/std/TAP'";s:8:"sub_tree";b:0;}i:3;a:3:{s:9:"expr_type";s:8:"operator";s:9:"base_expr";s:3:"AND";s:8:"sub_tree";b:0;}i:4;a:3:{s:9:"expr_type";s:5:"const";s:9:"base_expr";s:1:"1";s:8:"sub_tree";b:0;}i:5;a:3:{s:9:"expr_type";s:8:"operator";s:9:"base_expr";s:1:"=";s:8:"sub_tree";b:0;}i:6;a:3:{s:9:"expr_type";s:8:"function";s:9:"base_expr";s:11:"ivo_hasword";s:8:"sub_tree";a:2:{i:0;a:4:{s:9:"expr_type";s:6:"colref";s:9:"base_expr";s:17:"table_description";s:9:"no_quotes";a:2:{s:5:"delim";b:0;s:5:"parts";a:1:{i:0;s:17:"table_description";}}s:8:"sub_tree";b:0;}i:1;a:3:{s:9:"expr_type";s:5:"const";s:9:"base_expr";s:8:"'quasar'";s:8:"sub_tree";b:0;}}}i:7;a:3:{s:9:"expr_type";s:8:"operator";s:9:"base_expr";s:3:"AND";s:8:"sub_tree";b:0;}i:8;a:4:{s:9:"expr_type";s:6:"colref";s:9:"base_expr";s:3:"ucd";s:9:"no_quotes";a:2:{s:5:"delim";b:0;s:5:"parts";a:1:{i:0;s:3:"ucd";}}s:8:"sub_tree";b:0;}i:9;a:3:{s:9:"expr_type";s:8:"operator";s:9:"base_expr";s:1:"=";s:8:"sub_tree";b:0;}i:10;a:3:{s:9:"expr_type";s:5:"const";s:9:"base_expr";s:19:"'phot.mag;em.opt.V'";s:8:"sub_tree";b:0;}}}

For more information send a message to info at phpclasses dot org.