Comment

Comment by mjewkes

The C# documentation is quite clear: https://realm.io/docs/xamarin/latest/

  var puppies = realm.All<Dog>().Where(d => d.Age < 2);
The LINQ integration is appreciated.

  // Update and persist objects with a thread-safe transaction
  realm.Write(() => 
  {
      realm.Add(new Dog { Name = "Rex", Age = 1 });
  });

  // Queries are updated in realtime
  puppies.Count(); // => 1
I'm assuming that "updated in realtime" means "realm.Write is a blocking operation", correct?
parent mjewkes 9 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton