Skip to content
This repository has been archived by the owner on Nov 13, 2020. It is now read-only.

Support Storable properties #2

Open
Oyvindkg opened this issue Jan 12, 2016 · 1 comment
Open

Support Storable properties #2

Oyvindkg opened this issue Jan 12, 2016 · 1 comment
Assignees

Comments

@Oyvindkg
Copy link
Owner

Properties of a Storable type should be seamlessly added and retrieved

Example
The owner should be added to the database when the dog is added to the database, and retrieved when the dog is retrieved.

class Dog: Storable {
  var id: Int?
  var name: String?
  var owner: Owner?
  var birth: NSDate?
}

class Owner: Storable {
  var id: Int?
  var name: String?
}
krugazor pushed a commit to krugazor/swiftydb that referenced this issue Aug 23, 2016
@Oyvindkg
Copy link
Owner Author

This is supported in the soon-to-be-released 2.0

@Oyvindkg Oyvindkg self-assigned this Apr 27, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant