Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-4425

.NET: Support "ICollection.Contains" in LINQ

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.9
    • platforms

    Description

      SQL supports IN queries
      https://apacheignite.readme.io/docs/sql-performance-and-debugging#sql-performance-and-usability-considerations

      Example SQL:

      new SqlFieldsQuery("select p.name from Person p where id in (?, ?)", 1, 3);
      

      Add support in LINQ like this:

      persons.AsCacheQueryable().Where(x => new[] {1,3}.Contains(x.Value.Id))
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ptupitsyn Pavel Tupitsyn
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: