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

Query comparison to character variable doesn't work #1470

Closed
nirinchev opened this issue Jul 3, 2017 · 0 comments
Closed

Query comparison to character variable doesn't work #1470

nirinchev opened this issue Jul 3, 2017 · 0 comments
Assignees
Labels

Comments

@nirinchev
Copy link
Member

The following unit test fails:

public class Foo : RealmObject
{
    public char Bar { get; set; }
}

[Test]
public void TestCharacterComparison()
{
    char s = 'a';
    var result = _realm.All<Foo>().Where(f => f.Bar == s).ToArray();
}
@nirinchev nirinchev self-assigned this Jul 3, 2017
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant