TanStack
DB v0v0
Log In
StartRC
StartRC
Router
Router
Query
Query
Table
Table
DBbeta
DBbeta
AIalpha
AIalpha
Formnew
Formnew
Virtual
Virtual
Pacerbeta
Pacerbeta
Hotkeysalpha
Hotkeysalpha
Storealpha
Storealpha
Devtoolsalpha
Devtoolsalpha
CLIalpha
CLIalpha
Intentalpha
Intentalpha
More Libraries
More Libraries
BuilderAlpha
BuilderAlpha
Blog
Blog
Maintainers
Maintainers
Partners
Partners
Showcase
Showcase
LearnNEW
LearnNEW
Stats
Stats
YouTube
YouTube
Discord
Discord
Merch
Merch
Support
Support
GitHub
GitHub
Ethos
Ethos
Tenets
Tenets
Brand Guide
Brand Guide
Docs
CloudflareCloudflare
RailwayRailway
CodeRabbitCodeRabbit
AG GridAG Grid
OpenRouterOpenRouter
WorkOSWorkOS
ClerkClerk
NetlifyNetlify
SerpAPISerpAPI
SentrySentry
UnkeyUnkey
PrismaPrisma
ElectricElectric
CloudflareCloudflare
RailwayRailway
CodeRabbitCodeRabbit
AG GridAG Grid
OpenRouterOpenRouter
WorkOSWorkOS
ClerkClerk
NetlifyNetlify
SerpAPISerpAPI
SentrySentry
UnkeyUnkey
PrismaPrisma
ElectricElectric
Menu
  • Home
  • Blog
  • Frameworks
  • Contributors
  • NPM Stats
  • GitHub
  • YouTube
  • Discord
Getting Started
  • Overview
  • Quick Start
  • Installation
Guides
  • Live Queries
  • Mutations
  • Schemas
  • Error Handling
  • Creating Collection Options Creators
Collections
  • Query Collection
  • Electric Collection
  • TrailBase Collection
  • RxDB Collection
  • PowerSync Collection
  • LocalStorage Collection
  • LocalOnly Collection
Frameworks
  • React
  • Vue
  • Angular
  • Solid
  • Svelte
Community
  • Resources & Packages
API Reference
  • Core API Reference
  • Collection
  • createCollection
  • liveQueryCollectionOptions
  • createLiveQueryCollection
  • createOptimisticAction
  • createTransaction
  • Electric DB Collection
  • electricCollectionOptions
  • Query DB Collection
  • queryCollectionOptions
  • RxDB DB Collection
  • rxdbCollectionOptions
  • PowerSync Collection
  • powerSyncCollectionOptions
  • React Hooks
  • useLiveQuery
Menu
  • Home
  • Blog
  • Frameworks
  • Contributors
  • NPM Stats
  • GitHub
  • YouTube
  • Discord
Getting Started
  • Overview
  • Quick Start
  • Installation
Guides
  • Live Queries
  • Mutations
  • Schemas
  • Error Handling
  • Creating Collection Options Creators
Collections
  • Query Collection
  • Electric Collection
  • TrailBase Collection
  • RxDB Collection
  • PowerSync Collection
  • LocalStorage Collection
  • LocalOnly Collection
Frameworks
  • React
  • Vue
  • Angular
  • Solid
  • Svelte
Community
  • Resources & Packages
API Reference
  • Core API Reference
  • Collection
  • createCollection
  • liveQueryCollectionOptions
  • createLiveQueryCollection
  • createOptimisticAction
  • createTransaction
  • Electric DB Collection
  • electricCollectionOptions
  • Query DB Collection
  • queryCollectionOptions
  • RxDB DB Collection
  • rxdbCollectionOptions
  • PowerSync Collection
  • powerSyncCollectionOptions
  • React Hooks
  • useLiveQuery
AI/LLM: This documentation page is available in plain markdown format at/db/latest/docs/reference/type-aliases/OperationType.md

OperationType

Type Alias: OperationType#

ts
type OperationType = "insert" | "update" | "delete";
type OperationType = "insert" | "update" | "delete";

Defined in: packages/db/src/types.ts:205

Edit on GitHub
NextHome
Blog
@Tan_Stack on X.com
@TannerLinsley on X.com
GitHub
YouTube
Nozzle.io - Keyword Rank Tracker
Ethos
Tenets
Privacy Policy
Terms of Service
© 2026 TanStack LLC
PartnersBecome a Partner
Gold
CodeRabbitCodeRabbit
CloudflareCloudflare
RailwayRailway
Silver
WorkOSWorkOS
ClerkClerk
NetlifyNetlify
AG GridAG Grid
SerpAPISerpAPI
OpenRouterOpenRouter
Bronze
ElectricElectric
SentrySentry
PrismaPrisma
UnkeyUnkey
TanStack Start

Full-stack Framework powered by TanStack Router for React and Solid

Explore Start →
TanStack Router

Type-safe Routing for React and Solid applications

Explore Router →
TanStack OSS
    Latest Posts
    TanStack Start Adds First-Class Rsbuild SupportJun 2, 2026Introducing Experimental Workflows and Orchestrators in TanStack AIMay 28, 2026Chat UIs Are Lists Until They Aren'tMay 25, 2026