Комментарии:
Why method insertOrIgnore can't work at my postgreSql database, anyone can help me ?
ОтветитьThank you very much for the tips.
Can you also make video on how to set selected value of laravel vue next select dropdown with the value from database and tips on using vue next select.
You are real superman 🥲❤️❤️👍🏽👍🏽 not necessary to be superman on Hollywood....
ОтветитьI can see using this in importing CSV from a end user input.
If you want to fill the created_at (or created_by or any other field that is not null for other rows in database) your can still select where field is null and then update them all if the fields are nullable, else hydrate them before (with collections, there are plenty of tips from Laravel Daily)
interesting but what happend with the integrity DB? maybe I will use it in a global table where his field doesn't have relationship any tables. mmmm I don't know, for example in this case, Email is very important for me integrity DB, If I have duplicated, this is fatal error for me DB.. mmm mmmmm mm ... Srry for my english.
ОтветитьHi,
Show us a video teaching how to make queue work, multitenancy and multidatabase.
Set database in Middleware in Kernel by subdomain
Until now, i was doing try/catch. Thanks for the tip.
ОтветитьEven when mysql and other databases do database dumps as backups there is an option to use insert ignore.
ОтветитьI used insert or ignore recently to fix one migration that not ran in production.
ОтветитьI run into error while exporting larg number of records to Excel. How to solve memory exception error? Using maatwebsite excel package. It works well with some records.
ОтветитьA very helpful feature for validation, whether the user has created an account or not without having to select users table first
ОтветитьIs there any way to update multiple records with single query?
ОтветитьHelpful 🙂
ОтветитьThanks
Ответить