Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create package query-search #44

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

AntonioClaudioSouza
Copy link

This package provides a way to query a database, possibly using a CouchDB-like interface and defines several types, methods, and functions for querying. It facilitates the creation of queries without having to write queries in a raw form.

Features

  • The Config struct contains the settings used for querying
  • These settings include RemoveTags (a list of tags to be removed from the results)
  • AssetName (the name of the asset being queried) used for create query
  • PageSize (the number of results per page)
  • BookMark (the bookmark for pagination)
  • Resolve (a list of relations to be resolved)
  • Sort (a list of fields to sort by)
  • IndexDoc (a document containing the index design and name)
  • NoRemoveTagsTransaction (a boolean indicating whether to remove tags during the transaction),
  • CallBack (a function to be called after the query is executed)
  • Date handling for searches
  • Wraper to add fields to the search

Signed-off-by: AntonioClaudioSouza <[email protected]>
@AntonioClaudioSouza AntonioClaudioSouza requested a review from a team as a code owner April 5, 2024 17:00
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.

1 participant