https://github.com/kenjis/ci4-qb-batch-sample
CodeIgniter 4 QueryBuilder Batch Sample
https://github.com/kenjis/ci4-qb-batch-sample
codeigniter codeigniter4
Last synced: 9 months ago
JSON representation
CodeIgniter 4 QueryBuilder Batch Sample
- Host: GitHub
- URL: https://github.com/kenjis/ci4-qb-batch-sample
- Owner: kenjis
- License: mit
- Created: 2022-08-26T12:46:18.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-26T12:46:47.000Z (over 3 years ago)
- Last Synced: 2025-02-01T20:45:38.223Z (11 months ago)
- Topics: codeigniter, codeigniter4
- Language: PHP
- Homepage:
- Size: 103 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CodeIgniter 4 QueryBuilder Batch Sample
This is a sample to upload a CSV file and import to the database
using `QueryBuilder::insertBatch()` or `updateBatch()`.
## Requirements
- MySQL
- PHP 7.4 to 8.1
## Setup
```console
$ cd ci4-qb-batch-sample/
$ composer install
$ php spark migrate
```
```console
$ php spark serve
```
Navigate to http://localhost:8080/