ibis.sql.postgres.api.PostgreSQLClient.table

PostgreSQLClient.table(name, database=None, schema=None)

Create a table expression that references a particular a table called name in a PostgreSQL database called database.

Parameters
  • name (str) – The name of the table to retrieve.

  • database (str, optional) – The database in which the table referred to by name resides. If None then the current_database is used.

  • schema (str, optional) – The schema in which the table resides. If None then the public schema is assumed.

Returns

table – A table expression.

Return type

TableExpr