Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalybibikov authored May 4, 2024
1 parent a3f8902 commit 75a404b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Console.WriteLine($"Item saved with UserId: {data.UserId}");
```

### Deleting an Item
```
```csharp
// Arrange
var userIdToDelete = "unique-user-id";

Expand All @@ -95,7 +95,7 @@ await using (var transactor = new DynamoDbTransactor(_fixture.Db.Client))
```
### Patching an Item

```
```csharp
// Arrange
var userIdToPatch = "unique-user-id";
var updatedDate = DateTime.UtcNow.AddDays(1);
Expand All @@ -113,7 +113,7 @@ await using (var transactor = new DynamoDbTransactor(_fixture.Db.Client))

### Adding a conditional check

```
```csharp
// Arrange
var userIdToCheck = "unique-user-id";

Expand All @@ -130,7 +130,7 @@ await using (var transactor = new DynamoDbTransactor(_fixture.Db.Client))

### Complex Transaction with Multiple Operations

```
```csharp
// Arrange
var userId = Guid.NewGuid().ToString();
var testItem = new TestTable
Expand All @@ -154,7 +154,7 @@ await using (var transactor = new DynamoDbTransactor(_fixture.Db.Client))
```

### Version Check Before Update
```
```csharp
// Arrange
var userId = Guid.NewGuid().ToString();
var expectedVersion = 1;
Expand Down

0 comments on commit 75a404b

Please sign in to comment.