|
-
Jan 3rd, 2024, 02:07 PM
#2
Re: Saving settings to database - insert vs update
The easiest way is to include the initial default settings.
If not, then you would certainly need to check if a setting exists before an update and if it doesn't then do an add. I wouldn't worry about inefficiency, unless your talking about 100,000 settings records.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|