Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abdulrahmanmasoud/scandiweb-task
https://github.com/abdulrahmanmasoud/scandiweb-task
Last synced: about 8 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/abdulrahmanmasoud/scandiweb-task
- Owner: AbdulrahmanMasoud
- Created: 2022-05-15T22:15:46.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-05-24T08:42:49.000Z (over 1 year ago)
- Last Synced: 2024-03-26T09:47:55.467Z (8 months ago)
- Language: PHP
- Size: 104 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Get example
```php
DB::table('products')->where('id', '>', '0')->get();
```
## First example
```php
DB::table('products')->where('id', '>', '0')->first();
```
## Create exampel
```php
$x = DB::table('products')->create([
'title'=>'hello title',
'content'=>'hello content',
]);
```
## Delete example
```php
$x = DB::table('products')->delete('id', [20,21]);
```