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;}
FiveonefourFiveonefour
Fiveonefour Docs
MooseStackTemplates
Changelog
Source508
  • Overview
Build a New App
  • 5 Minute Quickstart
  • Browse Templates
  • Existing ClickHouse
Add to Existing App
  • Next.js
  • Fastify
Fundamentals
  • Moose Runtime
  • MooseDev MCP
  • Data Modeling
Moose Modules
  • Moose OLAP
  • Moose Streaming
  • Moose Workflows
  • Moose APIs & Web Apps
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