Skip to content

Conversation

@kevinb1989
Copy link
Contributor

No description provided.

@taylorotwell
Copy link
Member

Should this just replace the docs on firstOrCreate?

@kevinb1989
Copy link
Contributor Author

@taylorotwell nah, I don't think so. I would like this to be an alternative to firstOrCreate. firstOrCreate is still the more common approach.

@taylorotwell
Copy link
Member

Actually you don't need this at all because firstOrCreate falls back to createOrFirst.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants