Skip to content

Make test to illustrate search in JSONB subfields#35

Merged
adamdickmeiss merged 3 commits intomainfrom
illustrate-search-in-jsonb-subfields
Feb 19, 2026
Merged

Make test to illustrate search in JSONB subfields#35
adamdickmeiss merged 3 commits intomainfrom
illustrate-search-in-jsonb-subfields

Conversation

@adamdickmeiss
Copy link
Contributor

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds comprehensive test coverage for full-text search capabilities on JSONB columns in PostgreSQL. The changes demonstrate how to search within JSONB data structures using the full-text search functionality of the pgcql library.

Changes:

  • Modified test data to include a more distinctive country value ("Unknown country" instead of "Unknown") to better illustrate phrase searching
  • Added a new "address" field definition that enables full-text search on the entire JSONB address column
  • Added four new test cases demonstrating various full-text search operations on JSONB data (exact match, all-words match, and phrase matching)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@adamdickmeiss adamdickmeiss merged commit f449e84 into main Feb 19, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants