Skip to content
This repository has been archived by the owner on Jul 25, 2022. It is now read-only.

Feature/has one relation to nonexistant item #703

Merged
merged 4 commits into from Mar 3, 2016

Conversation

romaninsh
Copy link
Member

(same as #698 but uses develop and not master)

currently hasOne of a no-sql model can reference any other model. When loading the row it will attempt to also load that related record and fetch the name. If this record does not exist or fails to load, then the loading operation with throw exception.

It is however a tolerable occurence when nosql is pointing to a non-existing element (non-relational database), and this should be handled gracefully.

DarkSide666 added a commit that referenced this pull request Mar 3, 2016
…tant-item

Feature/has one relation to nonexistant item
@DarkSide666 DarkSide666 merged commit 8b6c865 into develop Mar 3, 2016
@DarkSide666 DarkSide666 deleted the feature/has-one-relation-to-nonexistant-item branch March 3, 2016 16:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants