atviriduomenys / spinta

Spinta is a framework to describe, extract and publish data (a DEP Framework).
MIT License
11 stars 4 forks source link

select(meta(), data()) #511

Open sirex opened 1 year ago

sirex commented 1 year ago

Currently, there are two types of columns:

Some times there is a need to select only data and other times one needs to select only metadata. To make it easy, following select statement could be supported:

select(meta(), data())

Where meta() would include all metadata (columns with a _ prefix), and data() would include all data columns.

A combination like this, could also be used:

select(_id, data())

This would select only _id and all other data columns, excluding _type, _revision and _page.