WriteOnlyColumn¶
-
class
dbbase.column_types.WriteOnlyColumn(*args, **kwargs)[source]¶ Bases:
sqlalchemy.sql.schema.ColumnThis class creates a subclassed column that identifies it as write only.
The use case for it derives from the need to screen out columns such as passwords from user tables.
Methods
all_()Produce a
_expression.all_()clause against the parent object.any_()Produce a
_expression.any_()clause against the parent object.argument_for(dialect_name, argument_name, …)Add a new kind of dialect-specific keyword argument for this class.
asc()Produce a
_expression.asc()clause against the parent object.between(cleft, cright[, symmetric])Produce a
_expression.between()clause against the parent object, given the lower and upper range.bool_op(opstring[, precedence])Return a custom boolean operator.
cast(type_)Produce a type cast, i.e.
collate(collation)Produce a
_expression.collate()clause against the parent object, given the collation string.compare(other[, use_proxies, equivalents])Compare this ColumnElement to another.
compile(default[, bind, dialect])Compile this SQL expression.
concat(other)Implement the ‘concat’ operator.
contains(other, **kwargs)Implement the ‘contains’ operator.
copy(**kw)Create a copy of this
Column, uninitialized.desc()Produce a
_expression.desc()clause against the parent object.distinct()Produce a
_expression.distinct()clause against the parent object.endswith(other, **kwargs)Implement the ‘endswith’ operator.
get_children([schema_visitor])used to allow SchemaVisitor access
ilike(other[, escape])Implement the
ilikeoperator, e.g.in_(other)Implement the
inoperator.is_(other)Implement the
ISoperator.is_distinct_from(other)Implement the
IS DISTINCT FROMoperator.isnot(other)Implement the
IS NOToperator.isnot_distinct_from(other)Implement the
IS NOT DISTINCT FROMoperator.label(name)Produce a column label, i.e.
like(other[, escape])Implement the
likeoperator.match(other, **kwargs)Implements a database-specific ‘match’ operator.
notilike(other[, escape])implement the
NOT ILIKEoperator.notin_(other)implement the
NOT INoperator.notlike(other[, escape])implement the
NOT LIKEoperator.Produce a
_expression.nullsfirst()clause against the parent object.Produce a
_expression.nullslast()clause against the parent object.op(opstring[, precedence, is_comparison, …])Produce a generic operator function.
operate(op, *other, **kwargs)Operate on an argument.
params(*optionaldict, **kwargs)references(column)Return True if this Column references the given column via foreign key.
reverse_operate(op, other, **kwargs)Reverse operate on an argument.
self_group([against])Apply a ‘grouping’ to this
_expression.ClauseElement.shares_lineage(othercolumn)Return True if the given
_expression.ColumnElementhas a common ancestor to this_expression.ColumnElement.startswith(other, **kwargs)Implement the
startswithoperator.unique_params(*optionaldict, **kwargs)Attributes
anon_labelProvides a constant ‘anonymous label’ for this ColumnElement.
base_columnsbindcomparatordefaultdescriptiondialect_kwargsA collection of keyword arguments specified as dialect-specific options to this construct.
dialect_optionsA collection of keyword arguments specified as dialect-specific options to this construct.
dispatchexpressionReturn a column expression.
foreign_keysinfois_clause_elementis_selectablekeykwargsA synonym for
DialectKWArgs.dialect_kwargs.onupdateprimary_keyproxy_setquoteReturn the value of the
quoteflag passed to this schema object, for those schema items which have anamefield.server_defaultserver_onupdatesupports_executiontabletimetupletype