tablesearch¶
- pyvo.dal.tablesearch(url, query, *, language='ADQL', maxrec=None, uploads=None, **keywords)¶
submit a Table Access query that returns rows matching the criteria given.
- Parameters:
- urlstr
the base URL of the query service.
- querystr, dict
The query string / parameters
- languagestr
specifies the query language, default ADQL. useful for services which allow to use the backend query language.
- maxrecint
the maximum records to return. defaults to the service default
- uploadsdict
a mapping from table names to file like objects containing a votable
- Returns:
- TAPResults
a container holding a table of matching catalog records
- Raises:
- DALServiceError
for errors connecting to or communicating with the service.
- DALQueryError
if the service responds with an error, including a query syntax error.