@@ -38,7 +38,7 @@ $record = $database->record(
|
||||
);
|
||||
|
||||
if ($database->write($record)) {
|
||||
// Writed the record into the database
|
||||
// Wrote the record into the database
|
||||
|
||||
// Updating the record in the database
|
||||
$updated = $database->read(
|
||||
@@ -48,7 +48,7 @@ if ($database->write($record)) {
|
||||
);
|
||||
|
||||
// Reading the record from the database
|
||||
$readed = $database->read(
|
||||
$read = $database->read(
|
||||
filter: fn($record) => $record->name === 'Arsen' && $record->age === 24,
|
||||
amount: 1
|
||||
);
|
||||
|
Reference in New Issue
Block a user