luminadb.signature moduleο
Signature
- class luminadb.signature.Signature[source]ο
Bases:
objectThis class is used at most filter parameters at Table class.
You can use variable op (operator) to do all conditional logic or operator. There are ==, <=, <, !=, >, and >=
.negate() adds βnotβ to the operator, so from == would equal to != when used with .negate()
.like() only search for alike characters. Please refer to sqlite like command.
.between() is a ranging operator, thereβs low and high value.
- Example of everything:
>>> op == 5 >>> op <= 2 >>> op < 2 >>> op != 5 >>> op > 7 >>> op >= 7 >>> op.like('Ar%') >>> op.like('Ar_') >>>op.between(1, 10)
You can now use function from :operators:
- property dataο
- property is_betweenο
Is operator between
- property is_inο
Is operator in?
- property is_likeο
Is operator like
- property kind_signο
Signature kind
- property negatedο
Is negated
- property normal_operatorο
Is it normal?
- property valueο