Releases: sadraskol/entremets
Releases · sadraskol/entremets
Alpha v6 release
New features
- Select queries support limit and offset operators
- Binary operators for math and logic are all implemented in sql and entremets
- Supports grouping of operations like
(1 + 3) * 5
But most importantly: entremets now supports foreign keys!
Alpha v5 release
New features
- Wildcard selector:
select * from users
orselect count(*) from users
now supported - Introduce strings:
let message = 'hello world'
andinsert into users(id, name) values (1, 'thomas')
- Simple delete statement:
delete from users where...
now supported - Comparison operators:
=
,<>
,>
,>=
,<
,<=
in sql and entremets expressions - Order by:
order by ...
is now supported for select statements - Between operator: Introduced the sql operator
col between 1 and 2
Syntax breaking changes
Temporal properties do not need the =
in their declaration.
property = eventually(x > 1)
becomes
property eventually(x > 1)
Multiple columns index
This release includes two changes:
- Unique index can be set on multiple columns
- Updates do not fail when no row is affected, this mimics the behavior of sql instead of ORM
Unique Index
This release includes:
- Support for unique index on a single column
- Support
count()
aggregate on select query - Use parenthesis for temporal operators instead of ocnfusing token:
eventually()
,always()
andnever()
- Support for
if do ... else ... end
Deadlock detection
Included in this release:
- fixed a bug when updating twice the same row in a transaction
- handle intermediate read correctly
- deadlock detection: deadlocks stopped the model, now
entremets
displays the cycle of locks that introduced the deadlock
Alpha version
Release entremets
on crates.io