Models related utility functions
Returns column objects of the current model
| Parameters: | col_type – (Optional) The type of columns to return. Currently supported types are ‘primary_key’ and ‘foreign_key’ |
|---|
Processes the passed application package and returns all SQLAlchemy models for the application.
| Parameters: | get_app_models – Indicates if the apps present in the application should also be searched for models (default True) |
|---|
A utility function that returns the pages (for records pagination display purposes)
| Parameters: |
|
|---|
Returns a list containing pages that should be displayed as page links.