Postgres_Connection.query
queryqueryalias
Group: Input
Aliases: import, load, open, read
Documentation
Set up a query returning a Table object, which can be used to work with data within the database or load it into memory.
Arguments
query: name of the table or sql statement to query. If supplied asTextit is treated as a table name.alias: optionally specify a friendly alias for the query.
Errors
- If provided with a
Raw_SQLquery orTextthat looks like a query, if any SQL error occurs when executing the query, aSQL_Errorerror is raised. - If provided with a
Table_Nameor a text short-hand and the table is not found, aTable_Not_Founderror is raised.