Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
acasar committed Feb 13, 2016
1 parent 612913d commit df2be18
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -316,13 +316,13 @@ A ``forceSaveTranslation($locale, $attributes)`` helper is also available to bus
To update multiple rows at once, you may also use a query builder approach:

```php
User::where('published_at, '>', Carbon::now())->update(['title' => 'New title']);
User::where('published_at', '>', Carbon::now())->update(['title' => 'New title']);
```

To update a different locale using query builder, you can still use the ``transleteInto($locale)`` helper:

```php
User::where('published_at, '>', Carbon::now())->translateInto('de')->update(['title' => 'New title']);
User::where('published_at', '>', Carbon::now())->translateInto('de')->update(['title' => 'New title']);
```

### Deleting rows
Expand All @@ -338,7 +338,7 @@ $user->delete();
To delete multiple rows at once, you may also use a query builder. Translations will be cleaned up automatically:

```php
User::where('published_at, '>', Carbon::now())->delete();
User::where('published_at', '>', Carbon::now())->delete();
```

## Translations as a relation
Expand Down

0 comments on commit df2be18

Please sign in to comment.