collection_query_to_table

model grammar version 51

'type' stategroup (
	'collection query' [ collection query ]
		'columns' component 'collection block'
	'acyclic graph list query' [ graph query ]
		'columns' component 'list block'
)
'collection block'
	'has columns' stategroup (
		'no'
		'yes'
			'header' text
			'property' [ -> select ] reference
			'type' [ as ] stategroup (
				'number' [ number ]
				'text' [ text ]
				'state' [ state ]
				'date' [ date ]
				'time' [ time ]
				'datetime' [ datetime ]
				'decimal' [ decimal ] 'shift' number
			)
			'next' component 'collection block'
	)
'list block'
	'has columns' stategroup (
		'no'
		'yes'
			'header' text
			'property' [ -> select ] reference
			'type' [ as ] stategroup (
				'number' [ number ]
				'text' [ text ]
				'state' [ state ]
				'date' [ date ]
				'time' [ time ]
				'datetime' [ datetime ]
				'decimal' [ decimal ] 'shift' number
			)
			'next' component 'list block'
	)