You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Airtable::table('default')->updateOrCreate(['Email' => '[email protected]'], ['Address' => 'Calle 13']);
is very useful to check if some record exists to update it, and if not create it.
The problem is that it deletes the rest of the column values, so Is not convenient in some scenarios.
To work around this I do need to find the Airtable id using ->where() method and use the patch method.
Would be appreciated a PatchOrCreate method
The text was updated successfully, but these errors were encountered:
Airtable::table('default')->updateOrCreate(['Email' => '[email protected]'], ['Address' => 'Calle 13']);
is very useful to check if some record exists to update it, and if not create it.
The problem is that it deletes the rest of the column values, so Is not convenient in some scenarios.
To work around this I do need to find the Airtable id using
->where()
method and use the patch method.Would be appreciated a
PatchOrCreate
methodThe text was updated successfully, but these errors were encountered: