Search code examples
outsystems

How to use a bit data type in OutSystems


I am trying to work with conditional data ( true or false ) in outsystems using bits (0 or 1). All I see is an option for a boolean. Does outsystems have a bit data type?


Solution

  • Short answer: no.

    Long answer: boolean data types are mapped into the database as 0 (false) and 1 (true). Additionally, you can use integers to do that logic, but I would advise against it.

    Cheers!