AmpersandTarski / Ampersand

Build database applications faster than anyone else, and keep your data pollution free as a bonus.
http://ampersandtarski.github.io/
GNU General Public License v3.0
40 stars 8 forks source link

Task: atomic component for non-uni boolean #1411

Open stefjoosten opened 1 year ago

stefjoosten commented 1 year ago

This is what I saw, when running a prototype on my localhost:

afbeelding

I ran this FROM ampersandtarski/prototype-framework:v1.14 This is the source code:

CONTEXT Switch_demo

REPRESENT Bool TYPE BOOLEAN

RELATION flip[SESSION*Bool]

INTERFACE switch : "_SESSION"[SESSION] BOX
   [ bool : flip ]
ENDCONTEXT

So, we need an atomic component for this use case.