title: How can I get unmanaged object from Realm query in Swift?
body: <p>In Java, you can get unmanaged objects with this:</p>
  
  <pre><code>Realm realm = Realm.getDefaultInstance();
  realm.beginTransaction();
  dogs = realm.where(Dog.class).lessThan("age", 2).findAll()
  realm.commitTransaction();
  realm.close()
  </code></pre>
  
  <p>How can I do this in Swift with Realm-cocoa ?</p>