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

[feat 🔥] Search With Skills #11

Closed
devlopersabbir opened this issue Jan 25, 2024 · 0 comments · Fixed by #17
Closed

[feat 🔥] Search With Skills #11

devlopersabbir opened this issue Jan 25, 2024 · 0 comments · Fixed by #17
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@devlopersabbir
Copy link
Owner

Search with name, locations is already exist

So, it is better to use also Search with Skills because a user has multiple skills like array

In the below code, we use name & location as ilike on the or

db
.select()
.from(users)
.where(
    or(
         ilike(users.name, `%${searchParams}%`),
         ilike(users.location, `%${searchParams}%`),
      ),
   )
.limit(itemPerPage)
.offset(offset)

I would love to add documentation that will help you finish this task.
Check out this array contains documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant