Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 days 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 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-26T12:46:47.000Z (over 2 years ago)
- Last Synced: 2024-12-06T13:43:12.450Z (2 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/