Skip to content

docs: link SqlHydra.Query.Pgvector as an example extension package#133

Merged
JordanMarr merged 1 commit into
JordanMarr:beta-4.1from
michaelglass:docs/link-pgvector-extension
Jun 10, 2026
Merged

docs: link SqlHydra.Query.Pgvector as an example extension package#133
JordanMarr merged 1 commit into
JordanMarr:beta-4.1from
michaelglass:docs/link-pgvector-extension

Conversation

@michaelglass

Copy link
Copy Markdown
Contributor

Links SqlHydra.Query.Pgvector from the "NuGet Extension Packages" section as a real-world example of an IExtendTypeMapping package — it maps the Postgres vector type to Pgvector.Vector and adds the pgvector distance operators.

Also two small correctness fixes in the same section:

  • Casing: SqlHydra.Query.PgVectorSqlHydra.Query.Pgvector (the actual package id).
  • The inline vector mapping example used ProviderDbType = Some "Vector"; there is no NpgsqlDbType.Vector (Pgvector.Npgsql infers it from the value), so it should be None.

Adds a link to the pgvector extension package in the 'NuGet Extension Packages'
section as a real, worked example of an IExtendTypeMapping shipped as a package,
and fixes the example name casing (PgVector -> Pgvector) to match it.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@JordanMarr JordanMarr changed the base branch from main to beta-4.1 June 10, 2026 15:16
@JordanMarr JordanMarr merged commit c942455 into JordanMarr:beta-4.1 Jun 10, 2026
1 check passed
@JordanMarr

Copy link
Copy Markdown
Owner

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.

2 participants