gws.base.database.model

Database-based models.

Source code: gws.base.database.model

Module Contents

class gws.base.database.model.Config

Bases: gws.base.model.Config

dbUid: str | None

db provider uid

sqlFilter: str | None

extra SQL filter

tableName: str | None

table name for the model

class gws.base.database.model.Object

Bases: gws.base.model.Object, gws.DatabaseModel

Database-based data model.

column(column_name)
configure()

Configuration hook.

configure_provider()
create_feature(feature, mc)
delete_feature(feature, mc)
describe()
find_features(search, mc)
init_feature(feature, mc)
table()
uid_column()
update_feature(feature, mc)
class gws.base.database.model.Props

Bases: gws.base.model.Props