Skip to content

Commit 1382f2c

Browse files
Merge pull request Ashishkumbhar01#69 from CodeWithSushil/1.x
update README.md
2 parents b554c12 + b591ba2 commit 1382f2c

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Otherwise, write an Object-Oriented PDO connection with PostgreSQL.
2828
> PASSWORD=[Your Password]
2929
> DATABASE=postgres
3030
> ```
31+
3132
---
3233
3334
### `Install`
@@ -40,6 +41,8 @@ composer require supabase-php/supabase-client # letest
4041
composer require supabase-php/supabase-client:"1.0.4"
4142
```
4243
44+
---
45+
4346
### Config
4447
Supabase client for PHP configuration with your php project/web Apps.
4548

@@ -74,6 +77,8 @@ SB_URL=https://rurtighghurtuhouger.supabase.co
7477
SB_API_KEY=utertu895tyut8trrvt8rtu8mutt84r548t894v98v5vtt6ut54uu85tu
7578
```
7679

80+
---
81+
7782
### `getAllData()`
7883
if you want to get all recorded data from your table when you saved the data then used `getAllData` function.
7984

@@ -82,6 +87,8 @@ $data = $client->getAllData('table name');
8287
print_r($data);
8388
```
8489

90+
---
91+
8592
### `getSingleData()`
8693
if you need a specifics data from specifics columns then you used `getSingleData` function.
8794

@@ -90,6 +97,8 @@ $data = $client->getSingleData('table name', 'column name');
9097
print_r($data);
9198
```
9299

100+
---
101+
93102
### `postData()`
94103
if you want to save your data to your table then used `postData` function.
95104

@@ -104,6 +113,8 @@ $client->postData('table name', $data, 'id');
104113
// 3rd option on_conflict
105114
```
106115

116+
---
117+
107118
### `updateData()`
108119
if you thinks something to be wrong or outdated so you will be changing that particular value from particular columns and also you updating all the data.
109120
Then used `updateData` function.
@@ -118,6 +129,8 @@ $data = [
118129
$client->updateData('table name', 'id number', $data);
119130
```
120131

132+
---
133+
121134
### `deleteData()`
122135
if you want to Delete a specificed data from the table, then used `deleteData` function.
123136
you needed the id number of table data.
@@ -126,18 +139,24 @@ you needed the id number of table data.
126139
$client->deleteData('table name', 2 //id);
127140
```
128141

142+
---
143+
129144
### `Pagination()`
130145

131146
```php
132147
$client->pages('table name');
133148
```
134149

150+
---
151+
135152
### `Filtering()`
136153

137154
```
138155
$client->filter('table name', 1);
139156
```
140157

158+
---
159+
141160
### `Matching()`
142161

143162
```php
@@ -149,4 +168,5 @@ $data = [
149168
$client->matchs('table name', $data);
150169

151170
```
171+
152172
---

0 commit comments

Comments
 (0)