Skip to content

feat: add batch update-rows command for database rows#31

Merged
andrzejchm merged 1 commit into
mainfrom
feat/23-batch-update-rows
Apr 7, 2026
Merged

feat: add batch update-rows command for database rows#31
andrzejchm merged 1 commit into
mainfrom
feat/23-batch-update-rows

Conversation

@andrzejchm
Copy link
Copy Markdown
Owner

Updating a property across many database rows required individual CLI calls per row. This adds notion db update-rows <id> which queries the database with optional --filter, then applies --prop changes to all matching rows with concurrency-controlled parallel updates. Includes --dry-run for previewing affected rows.

Closes #23

@andrzejchm andrzejchm temporarily deployed to integration-tests April 7, 2026 19:23 — with GitHub Actions Inactive
Adds 'notion db update-rows <id>' to apply property changes across multiple
rows matching a filter. Composes existing queryDatabase() and updatePageProperties()
with concurrency-controlled parallel updates. Supports --dry-run to preview
affected rows and --filter for targeted updates.

Closes #23
@andrzejchm andrzejchm force-pushed the feat/23-batch-update-rows branch from 0a9ba43 to 50e3576 Compare April 7, 2026 19:25
@andrzejchm andrzejchm temporarily deployed to integration-tests April 7, 2026 19:25 — with GitHub Actions Inactive
@andrzejchm andrzejchm merged commit 9c521a4 into main Apr 7, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add batch update for database rows with filter support

1 participant