{"extended":{"hasExtended":true,"docs":"
// Return the first object that matches "Timberlake" in the last name column. If there is no match, create a new one and set firstName to "Justin".\nnewArtist = model("artist").findOrCreateByLastName(lastName="Timberlake", firstName="Justin");"},"hint":"Returns the object or creates a new one if it wasn't found.","returntype":"","slug":"findorcreateby[property]","parameters":[{"default":"true","required":"false","hint":"Passing in false will create the object without saving it to the database.","name":"save","type":"boolean"}],"name":"findOrCreateBy[Property]","availableIn":{},"tags":{"categoryClass":"","sectionClass":"","category":"","section":""}}