Skip to content

v0.26.0

Compare
Choose a tag to compare
@elliotchance elliotchance released this 15 Feb 07:20
· 46 commits to main since this release
a1d68d2
Adding support for SEQUENCEs (#142)

A sequence is used as an atomic counter. It is useful for generating
unique and sequential numbers.

The sequence can have an separately optional min and max values, as well
as being able to specify if numbers are allowed to cycle (wrap around)
between these boundaries.

New SQL statements introduced for `CREATE SEQUENCE`, `ALTER SEQUENCE`
and `DROP SEQUENCE` as well as the `NEXT VALUE FOR <name>` expression.

Fixes #139