Pls suggest how to insert bulk data in table with stored procedures in php or laravel?

|
hypernxf 2021-01-05 18:27:16
DesolatorMagno 2021-01-05 18:02:10
I don’t know why is not recommend to have a ambient the more similar possible to dev for testing.

Not everything work the same between MySQL and sqlite so at the end the test could be useless.

Sure if you are testing at the MySQL layer.

But most of the time you are doing unit testing and feature testing which benefit from the speed of using sqlite. Using MySQL will just slow down your testing by at least 2-5 seconds per test. So if you have 1000 tests, you can do the math yourself 🙂

hypernxf 2021-01-05 18:28:04
I’ve tried both MySQL and sqLite and so far, apart from the foreign key constraints difference, it hasn’t really affected my testing much to gain coverage.
DesolatorMagno 2021-01-05 18:28:12
Lol, WTF, 2-5 seconds? I have 23 test in a project and it toke 1.5 seconds
hypernxf 2021-01-05 18:28:26
Sure if you have only like 10 tables?
hypernxf 2021-01-05 18:29:08
But anyway, if mysql is really what you want to use, go for it 🙂 I’m not against it
DesolatorMagno 2021-01-05 18:29:08
If you are using Laravel 5 I guess it is still slow and if you seed everything.
hypernxf 2021-01-05 18:29:35
Ok maybe the new Sql migratation might help
Bhavyakumar Panchotiya 2021-01-05 18:29:39
if need a Core PHP developer As a fresher then contact to me !!
hypernxf 2021-01-05 18:31:08
But I think having to setup schemas and tables in mysql is probably still going to take a longer time then sqlite
DesolatorMagno 2021-01-05 18:31:21
hypernxf 2021-01-05 18:29:35
Ok maybe the new Sql migratation might help

Yes, it does.

hypernxf 2021-01-05 18:31:25
due to the nature of how mysql works. But I’m happy to be proven wrong 🙂
DesolatorMagno 2021-01-05 18:32:10
It is practically a MySQL dump, is really fast.
hypernxf 2021-01-05 18:32:37
yeah I understand Laravel 8 has a new schema dump
DesolatorMagno 2021-01-05 18:34:04
There must be someone that did some serious test using it against sqlite, I remember reading that in some cases it is faster that sqlite.
mahdyfo 2021-01-05 18:35:14
hypernxf 2021-01-05 18:31:25
due to the nature of how mysql works. But I’m happy to be proven wrong 🙂

It depends heavily on queries.

hypernxf 2021-01-05 18:35:36
i think the real test of speed is to compare running the schema dump on sqlite and mysql
hypernxf 2021-01-05 18:35:56
Queries is another topic.
DesolatorMagno 2021-01-05 18:36:09
Exactly.
hypernxf 2021-01-05 18:36:11
But i’m really referring to the initialization part now
AngelGoitia 2021-01-05 20:17:57
good, I have passport with users and I also want to use with admin but when I query with the bearer authentication and use $ request-admin () I get that it does not exist
WhoamI 2021-01-05 20:49:54
laravel_discuss-65518.jpg
Hello Developers I am getting this I Install the nmp also But When I installed The nmp it also give error
WhoamI 2021-01-05 20:50:24
laravel_discuss-65519.jpg

Stan 2021-01-05 20:51:34
WhoamI 2021-01-05 20:49:54
Hello Developers I am getting this I Install the nmp also But When I installed The nmp it also give error

Check your public folder

Stan 2021-01-05 20:51:47
Is it intact?
rdulk 2021-01-05 20:53:41
is anyone know how to set $validator global property using vee validate in vuejs
WhoamI 2021-01-05 20:58:03
Stan 2021-01-05 20:51:47
Is it intact?

Sorry I didn’t Understand Please Can You Explain?

❤️ ᴍɪɢʜᴛⓨ 🌹 2021-01-05 21:39:29
WhoamI 2021-01-05 20:58:03
Sorry I didn’t Understand Please Can You Explain?

Phele aap wo video dekho jo mane apko baje h apke sare problem solve ho jaye ge

Kriti Agarwal 2021-01-06 00:45:29
Pls suggest how to insert bulk data in table with stored procedures in php or laravel?
nazmulpcc 2021-01-06 00:47:45
WhoamI 2021-01-05 20:49:54
Hello Developers I am getting this I Install the nmp also But When I installed The nmp it also give error

This error picture shows you the solution. You need to run a command, “npm install && npm run dev”

WhoamI 2021-01-06 05:18:05
nazmulpcc 2021-01-06 00:47:45
This error picture shows you the solution. You need to run a command, “npm install && npm run dev”

When Run These it’s give errors

NanoCellMusic 2021-01-06 05:19:37
WhoamI 2021-01-06 05:18:05
When Run These it’s give errors

do you have node installed to your machine?

WhoamI 2021-01-06 05:21:05
NanoCellMusic 2021-01-06 05:19:37
do you have node installed to your machine?

Yes I Uninstalled Node and when I Run these Commend it’s Giving Me And Then I Installed Node Now The Same Problem At Run Commend

Harsh Tyagi 2021-01-06 05:23:39
Anybody tell me how to install Laravel
NanoCellMusic 2021-01-06 05:25:22
Harsh Tyagi 2021-01-06 05:23:39
Anybody tell me how to install Laravel

this should help https://laravel.com/docs/8.x#your-first-laravel-project

NanoCellMusic 2021-01-06 05:26:38
No worried
|