• API reference
  • Blog
  • Changelog
  • Follow us on GitHubFollow us on XJoin our Discord server
  • API reference
  • Blog
  • GitHub
  • Releases
  • Getting started

    • Overview
  • Local-first

    • Getting started
    • Playgrounds
    • Examples
    • React Native
    • Schema
    • Local auth
    • Queries
    • Sync
    • Relay
    • Privacy
    • Indexes
    • Time travel
    • Owners
    • Protocol
    • FAQ
  • Library

    • Getting started
    • Array
    • Result
    • Dependency injection
    • Resource management
    • Type
    • Task
    • Conventions
    • Testing
    • Assert
  • Other

    • Comparison
    • Supply chain
    • Showcase
    • Upgrading
    • Changelog

API reference › @evolu/common › local‑first/Schema › UpsertValues

type UpsertValues<T extends TableSchema> = NullableColumnsToOptional<T> & {
  isDeleted?: SqliteBoolean;
};

Defined in: packages/common/src/local-first/Schema.ts:768

Upsert values: id required, nullable columns optional, non-nullable columns required. Includes isDeleted for soft deletes.

Type Declaration

NameTypeDefined in
isDeleted?SqliteBooleanpackages/common/src/local-first/Schema.ts:770
Markdown for LLMs

© 2026 Evolu

Follow us on GitHubFollow us on XJoin our Discord server