Skip to content

Store PostgreSQL metadata #3335

Closed
Closed
@AlekSi

Description

What should be done?

We should store collections metadata exactly the same way as an old backend does – as *types.Document in a single field, with the same fields, etc. However, the exposed Registry API should be similar to SQLite's backend.

In that issue only the metadata package should be changed, not the new backend package itself.

Where?

https://github.com/FerretDB/FerretDB/tree/main/internal/backends/postgresql/metadata

Definition of Done

  • unit tests added;
  • spot refactorings done.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Labels

backend/pgIssues about PostgreSQL backendcode/choreCode maintenance improvements

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions