aboutsummaryrefslogtreecommitdiffstats
path: root/src/operations.erl
diff options
context:
space:
mode:
authorMarcos Magueta <maguetamarcos@gmail.com>2026-03-03 00:09:46 -0300
committerGitHub <noreply@github.com>2026-03-03 00:09:46 -0300
commit24e5e531134fbb8757151a68438d0b8426c91c4c (patch)
treedb53b9fb5392541a71f8df02282bb392ec80914c /src/operations.erl
parentbaca3a79cded23329ba8555afefb5590b679c955 (diff)
downloadSakura-24e5e531134fbb8757151a68438d0b8426c91c4c.tar.gz
Sakura-24e5e531134fbb8757151a68438d0b8426c91c4c.zip
2OP Constraints and manipulation
Diffstat (limited to '')
-rw-r--r--src/operations.erl6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/operations.erl b/src/operations.erl
index 0462034..8773e0e 100644
--- a/src/operations.erl
+++ b/src/operations.erl
@@ -601,7 +601,11 @@ create_database(Name) ->
constraint:greater_than(term, aleph_zero),
constraint:greater_than_or_equal(term, aleph_zero),
constraint:equal(term, aleph_zero),
- constraint:not_equal(term, aleph_zero)
+ constraint:not_equal(term, aleph_zero),
+ constraint:plus(integer, aleph_zero),
+ constraint:times(integer, aleph_zero),
+ constraint:minus(integer, aleph_zero),
+ constraint:divide(integer, aleph_zero)
],
Folder = fun (Elem, AccDB) ->
{NextDB, _} = operations:create_immutable_relation(AccDB, Elem),