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

Quering string array example added #issue 221 #231

Merged
merged 4 commits into from
Oct 11, 2022

Conversation

ramin-guliyev
Copy link
Contributor

No description provided.

@rtynski
Copy link

rtynski commented Oct 9, 2022

Proposal:

  • Directory Helpers i Models (as in Redis.OM.BasicMatchingQueries)

@SuzeShardlow
Copy link

Closes #221 when merged.

Copy link
Member

@slorello89 slorello89 left a comment

Choose a reason for hiding this comment

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

Looking pretty good @ramin-guliyev - just a couple of minor items and then I think we're good to go!


public override string ToString()
{
return string.Join(" ", Skills.Skip(0));
Copy link
Member

Choose a reason for hiding this comment

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

calling skip with 0 is inert I think - so I'd say remove the Skip here.

Console.WriteLine(item.ToString());
}

Console.ReadKey();
Copy link
Member

Choose a reason for hiding this comment

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

This is just personal preference, but I'd say remove the ReadKey at the end here and just let the program terminate when it's done.

@slorello89 slorello89 linked an issue Oct 11, 2022 that may be closed by this pull request
@ramin-guliyev
Copy link
Contributor Author

@slorello89 I have done it. Please review again and merge :)

Copy link
Member

@slorello89 slorello89 left a comment

Choose a reason for hiding this comment

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

LGTM 👍 thanks for your contribution @ramin-guliyev happy 🎃 hacktoberfest 🎃 (will merge when CI is done)

@slorello89 slorello89 merged commit 3e0406c into redis:main Oct 11, 2022
@SuzeShardlow
Copy link

@ramin-guliyev thanks for your PR! If you are a member of our Discord server (https://discord.gg/redis), please let us know your handle so we can give you the Hacktoberfest 2022 role :D

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

Successfully merging this pull request may close these issues.

Hacktoberfest Examples: Querying Strings within Arrays
4 participants