Produce a new :class:`_expression.TableClause`. The object returned is an instance of :class:`_expression.TableClause`, which represents the "syntactical" portion of the schema-level :class:`_schema.Table` object. It may be used to construct lightweight table constructs. :p
(name: str, *columns: ColumnClause[Any], **kw: Any)
| 539 | |
| 540 | |
| 541 | def table(name: str, *columns: ColumnClause[Any], **kw: Any) -> TableClause: |
| 542 | """Produce a new :class:`_expression.TableClause`. |
| 543 | |
| 544 | The object returned is an instance of |
| 545 | :class:`_expression.TableClause`, which |
| 546 | represents the "syntactical" portion of the schema-level |
| 547 | :class:`_schema.Table` object. |
| 548 | It may be used to construct lightweight table constructs. |
| 549 | |
| 550 | :param name: Name of the table. |
| 551 | |
| 552 | :param columns: A collection of :func:`_expression.column` constructs. |
| 553 | |
| 554 | :param schema: The schema name for this table. |
| 555 | |
| 556 | .. versionadded:: 1.3.18 :func:`_expression.table` can now |
| 557 | accept a ``schema`` argument. |
| 558 | """ |
| 559 | |
| 560 | return TableClause(name, *columns, **kw) |
| 561 | |
| 562 | |
| 563 | def tablesample( |