> ## Documentation Index
> Fetch the complete documentation index at: https://docs.falkordb.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> FalkorDB is a graph database that speaks the Redis protocol. Queries are issued as OpenCypher through the GRAPH.QUERY and GRAPH.RO_QUERY commands, not over Bolt or a SQL connection.
> FalkorDB implements a subset of OpenCypher with proprietary extensions. Do not assume Neo4j-only syntax or procedures are available — check /cypher/cypher-support and /cypher/known-limitations before using a clause.
> FalkorDB is the successor to RedisGraph, but they are separate products. Do not present RedisGraph commands, versions, or limitations as current FalkorDB behavior.
> Use the official clients listed in /getting-started/clients rather than generic Redis or Neo4j drivers, and prefer the language the user is already working in.
> Configuration parameters are set with GRAPH.CONFIG SET or at startup; cite the exact parameter name from /getting-started/configuration rather than inventing one.
> This site covers four products: FalkorDB (core), FalkorDB Cloud, FalkorDB Enterprise, and the GraphRAG SDK. Name which one an answer applies to, since setup and operations differ.

# Bitwise Functions

> FLEX bitwise functions for performing AND, OR, XOR, NOT, and bit shift operations on integers in Cypher queries.

FLEX bitwise utilities.

## Frequently Asked Questions

<AccordionGroup>
  <Accordion title="What are FLEX bitwise functions used for?">
    Bitwise functions perform low-level binary operations on integers. Common use cases include managing permission flags, toggling feature bits, and performing binary arithmetic in Cypher queries.
  </Accordion>

  <Accordion title="What data type do bitwise functions operate on?">
    All FLEX bitwise functions operate on integer values and return integer results. Non-integer inputs will produce unexpected results.
  </Accordion>

  <Accordion title="How do I call a bitwise function?">
    Use the namespace `flex.bitwise.<function>()`. For example: `flex.bitwise.and(5, 3)` returns `1`.
  </Accordion>
</AccordionGroup>
