class count(GenericFunction):
The ANSI COUNT aggregate function. With no arguments, emits COUNT *.
E.g.:
from sqlalchemy import func from sqlalchemy import select from sqlalchemy import table, column my_table = table('some_table', column('id')) stmt = select(func.count()).select_from(my_table)
Executing stmt would emit:
SELECT count(*) AS count_1 FROM some_table
Method | __init__ |
Undocumented |
Class Variable | inherit_cache |
Undocumented |
Inherited from GenericFunction
:
Class Variable | _register |
Undocumented |
Class Variable | coerce_arguments |
Undocumented |
Instance Variable | _bind |
Undocumented |
Instance Variable | _has_args |
Undocumented |
Instance Variable | clause_expr |
Undocumented |
Instance Variable | packagenames |
Undocumented |
Instance Variable | type |
Undocumented |