Commit 347fadf
add fields key to post , put and patch (#3)
* add fields key to post , put and patch
we can now create update a record with sending array of fields and you can create empty records as api documentation.
```
\Airtable::table('default')->create( ['name' => 'mohamed']);
// or empty record
\Airtable::table('default')->create(null);
// or with stdclass object
\Airtable::table('users')->create($user);
```
* Resolve style changes.1 parent b468ce7 commit 347fadf
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
0 commit comments