
Title probably makes no sense - sorry. But I'm trying to create a database for buildings with units. Eight buildings each with eight units. So I made a buildings collection that looks like this screenshot.
Then I made a collection called units. It has a attribute called unit_letter which is an enum that can be A,B,C,D,E,F,G, or H. The only other attribute is type "relationship". Not sure if it should be a one-way or two-way relationship. Both seem to work?
In any case is there a way to quickly fill in the units collection? In normal SQL it would be something like this:
INSERT INTO condos (building_id, unit_label) VALUES
(1, 'A'), (1, 'B'), (1, 'C'), (1, 'D'), (1, 'E'), (1, 'F'), (1, 'G'), (1, 'H'),
(2, 'A'), (2, 'B'), (2, 'C'), (2, 'D'), (2, 'E'), (2, 'F'), (2, 'G'), (2, 'H');
...
Recommended threads
- Custom document types in Swift
How would I create a protocol to conform to Models.Document?
- Creating Push Notification Results in Fa...
When creating a push notification using the Python API, I get this error for the status of my message. I call it using basically this: ```python def main(conte...
- "The document data is missing. Try again...
Hello, I am getting this error suddenly. I have been using this service for a year now, and I haven't made any changes to my code since then. My app was workin...
