Skip to content
DocsReference
DocsReferenceGitHub

Search Ridu documentation

tab controls

Loading search…

Search will be ready in a moment.

No matching results

Try a different term or search every section.

Loading search.

Preparing index…View all results →↑↓ move↵ openesc close
Get started
Modules/migration
TMongoDBRenameResourcePayload

Go packages

riducorefieldoperationqueryschemastorestoragemigrationmigration/payloadprotocol (Go)plugintestconformance

Official adapters

postgressqlitemongodbstorage/localstorage/s3

Official plugins

graphqlmcprichtextseoformbuilder@riducms/plugin-richtext@riducms/plugin-seo@riducms/plugin-form-builder@riducms/plugin-graphql

TypeScript packages

@riducms/sdk@riducms/sveltekit@riducms/protocol@riducms/plugin@riducms/build@riducms/ui@riducms/admin@riducms/translations@riducms/cli/run

Tooling

ridu CLI
Allmigrationriducorefieldoperationqueryschemastorestoragemigration/payloadprotocol (Go)plugintestpostgressqlitemongodbgraphqlmcprichtextseoformbuilderstorage/localstorage/s3conformance@riducms/sdk@riducms/sveltekit@riducms/protocol@riducms/plugin@riducms/build@riducms/ui@riducms/plugin-richtext@riducms/plugin-seo@riducms/plugin-form-builder@riducms/plugin-graphql@riducms/admin@riducms/translations@riducms/cli/runridu CLI
All 96PhysicalDigestSeedConcurrentIndexPayloadMongoDBCreateIndexPayloadMongoDBDropIndexPayloadMongoDBRenameResourcePayloadMongoDBDropResourcesPayloadArtifact.AfterManifestArtifact.BeforeManifest

type

MongoDBRenameResourcePayload

One confirmed MongoDB collection-identity move without serialized namespace names.

PropertiesHow it worksFull signature

Properties

PropertyTypeDescription
BeforeIDschema.StableIDThe BeforeID value.
AfterIDschema.StableIDThe AfterID value.

How it works

The adapter derives the exact current-content and version namespaces from the immutable before and after manifests.

Full signature

type MongoDBRenameResourcePayload struct { BeforeID schema.StableID `json:"beforeId"` AfterID schema.StableID `json:"afterId"` }

Source migration/phases.go:227