Skip to content

Commit 3d405fe

Browse files
committed
add type hint
1 parent 21ce60b commit 3d405fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Dapper.Tests/Providers/PostgresqlTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public void TestPostgresqlDateTimeUsage()
114114
{
115115
DateTime now = DateTime.UtcNow;
116116
DateTime? nilA = now, nilB = null;
117-
_ = conn.ExecuteScalar("SELECT @now, @nilA, @nilB", new { now, nilA, nilB });
117+
_ = conn.ExecuteScalar("SELECT @now, @nilA, @nilB::timestamp", new { now, nilA, nilB });
118118
}
119119
}
120120

0 commit comments

Comments
 (0)