Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 123788

Object-relational mapping (ORM) is a technique for mapping between object-oriented systems and relational databases.

0 votes

At what size array in Swift would you consider switching to CoreData?

"Array" implies the data is in memory. An array is always faster than core data. The difference is how you persist data. Two reasonable ways for persisting data are core data, and JSON. JSON is easier …
gnasher729's user avatar
  • 47.5k
39 votes

Should I check if something exists in the db and fail fast or wait for db exception

I think what you call “fail fast” and what I call it is not the same. Telling the database to make a change and handling the failure, that is fast. Your way is complicated, slow and not particularly …
gnasher729's user avatar
  • 47.5k