1. MooseStack
  2. Data Types
  3. Boolean Type

On this page

UsageType Mapping Reference

Boolean Type

Booleans represent true/false values. In ClickHouse, they're stored as UInt8 (0 or 1) but typed as Boolean for clarity.

Usage

interface User {  is_active: boolean;  verified: boolean;  has_subscription: boolean;}

Type Mapping Reference

ClickHouse TypeTypeScriptPython
Booleanbooleanbool
interface User {  is_active: boolean;  verified: boolean;  has_subscription: boolean;}
  • Overview
  • Quick Start
  • Templates / Examples
Fundamentals
  • Moose Runtime
  • MooseDev MCP
  • Data Modeling
MooseStack in your App
  • App / API frameworks
Modules
  • Moose OLAP
  • Moose Streaming
  • Moose Workflows
  • Moose APIs
Deployment & Lifecycle
  • Moose Migrate
  • Moose Deploy
Reference
  • API Reference
  • Data Types
    • Strings
    • LowCardinality
    • Integers
    • Floats
    • Decimals
    • Booleans
    • Date & Time
    • Network
    • Arrays
    • Maps
    • Nested
    • Tuples
    • Enums
    • Geometry
    • JSON
    • Nullable
    • Aggregates
  • Table Engines
  • CLI
  • Configuration
  • Observability Metrics
  • Help
  • Changelog
Contribution
  • Documentation
  • Framework
FiveonefourFiveonefour
Fiveonefour Docs
MooseStackTemplates
Changelog
Source506