• python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Facebook Twitter Instagram
Devs Fixed
  • python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Devs Fixed
Home ยป Resolved: How to store sheets data to mysql in laravel

Resolved: How to store sheets data to mysql in laravel

0
By Isaac Tonny on 18/06/2022 Issue
Share
Facebook Twitter LinkedIn

Question:

I have been trying to learn how to use the Sheetdb api today seems easy but was wondering how would I take the sheets data and insert it to a mysql table. Like how would I do it and what would I need. Here is code in the controller right now:
Table migration:
Here is the output:
enter image description here
So the data I get back looks like and array of objects so how would I insert this data to and existing empty mysql table? Any and all suggestions are appreciated. If you wish to recreate the whole project here is a link to a video for the initial setup https://www.youtube.com/watch?v=qaWc7Nlt2EE.

Answer:

Hello I an attaching snippet

If you have better answer, please add a comment about this, thank you!

google-sheets laravel mysql php
Share. Facebook Twitter LinkedIn

Related Posts

Resolved: Why is NGINX’s $request_uri empty?

24/03/2023

Resolved: How to convert Java bytecode to Webassembly using CheerpJ compiler

24/03/2023

Resolved: Is pandas groupby() function always produce a DataFrame with the same order respect to the column we group by?

24/03/2023

Leave A Reply

© 2023 DEVSFIX.COM

Type above and press Enter to search. Press Esc to cancel.