Commit da8eea19 authored by Howard Dean Watts's avatar Howard Dean Watts Committed by GitHub

Update readme.md

Missed second bracket in ID example
parent 61e965ee
...@@ -247,7 +247,7 @@ Dapper allow you to pass in IEnumerable<int> and will automatically parameterize ...@@ -247,7 +247,7 @@ Dapper allow you to pass in IEnumerable<int> and will automatically parameterize
For example: For example:
```csharp ```csharp
connection.Query<int>("select * from (select 1 as Id union all select 2 union all select 3) as X where Id in @Ids", new { Ids = new int[] { 1, 2, 3 }); connection.Query<int>("select * from (select 1 as Id union all select 2 union all select 3) as X where Id in @Ids", new { Ids = new int[] { 1, 2, 3 } });
``` ```
Will be translated to: Will be translated to:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment