AnnaDB 1.0
|
Classes | |
class | And |
class | Asc |
class | Comparison |
class | Delete |
class | Desc |
class | Eq |
class | Find |
class | Get |
class | Gt |
class | Gte |
class | Insert |
class | Limit |
class | Lt |
class | Lte |
class | Neq |
class | Not |
class | Offset |
class | Or |
class | Project |
class | Query |
class | QueryCmd |
class | Sort |
struct | SortCmd |
class | Update |
Enumerations | |
enum class | UpdateType { Inc = 0 , Set = 1 } |
enum class | ComparisonType { EQ , NEQ , GT , GTE , LT , LTE , AND , OR , NOT } |
Comparison operators Equal - eq{...} Not equal - neq{...} Greater than - gt{...} Greater than or equal - gte{...} Less than - lt{...} Less than or equal - lte{...}
Logical operators And - and[...] Or - or[...] Not - not(...)
In order to compare the value of the object root path notation could be used: eq{root: s|bar|} In order to compare a field of the object path to value notation could be used: eq{value|path.to.field|: s|bar|}
|
strong |
Inside of the compare statement you must decide how to compare
|
strong |
Inside of the update statement you can decide if you either want to set the field to a particular value or if you want to increase the field to a particular value