Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rohit-chouhan/ci-crud-snippet
https://marketplace.visualstudio.com/items?itemName=rohit-chouhan.ci-crud-snippet
https://github.com/rohit-chouhan/ci-crud-snippet
ajax amv ci ci4 codeigniter4 codeoingiter crud delete insert select snippet update vscode
Last synced: 2 months ago
JSON representation
https://marketplace.visualstudio.com/items?itemName=rohit-chouhan.ci-crud-snippet
- Host: GitHub
- URL: https://github.com/rohit-chouhan/ci-crud-snippet
- Owner: rohit-chouhan
- License: mit
- Created: 2021-07-11T05:07:56.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-07-17T05:04:59.000Z (over 3 years ago)
- Last Synced: 2024-10-01T00:41:34.261Z (3 months ago)
- Topics: ajax, amv, ci, ci4, codeigniter4, codeoingiter, crud, delete, insert, select, snippet, update, vscode
- Homepage: https://marketplace.visualstudio.com/items?itemName=rohit-chouhan.ci-crud-snippet
- Size: 3.91 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Generate complete dynamic select,insert,update,delete normally, and with ajax using this great snippet.
If you are using Ajax, please embed JQuery inside your <head> tag.
```html```
## Install form Here
https://marketplace.visualstudio.com/items?itemName=rohit-chouhan.ci-crud-snippet## Usage (Database Connection)
| Syntax | Description |
| ----------- | ----------- |
|$ci-conn| Create db connection |## Usage (Insert, Update, Delete)
| Syntax | Description |
| ----------- | ----------- |
| $ci-ajax | Ajax Code |
| $ci-insert | Insert Code |
| $ci-insert-ajax | Insert Code for Ajax |
| $ci-update | Update Code |
| $ci-update-ajax | Update Code for Ajax |
| $ci-delete | Delete Code |
| $ci-delete-ajax | Delete Code for Ajax |## Usage (Select)
| Syntax | Description |
| ----------- | ----------- |
|$ci-select| Retreving data |
|$ci-select-single| Retreving Single Row data|
|$ci-column| Retreving Specific Column data|
|$ci-where| Retreving data with Where claus |
|$ci-like| Retreving data with Like claus |
|$ci-count| Row count from Table |## Functions (Select)
| Syntax | Description |
| ----------- | ----------- |
|$ci-selectMax| Retreving Max Value |
|$ci-selectMin| Retreving Min Value |
|$ci-selectAvg| Retreving Avg Value |
|$ci-selectSum| Retreving Sum Value |
|$ci-selectCount| Retreving Count Value |## Input/Output
![title](https://i.ibb.co/Lvh0Lr7/crud.png)```
1.0.0
- Initial release1.0.1 (16/07/2021)
- Bug fixed1.0.2 (17/07/2021)
- Select Max Added
- Select Min Added
- Select Avg Added
- Select Sum Added
- Select Count Added
```