From deec74e4d03d3af6bc4e3482fa386552f355a92c Mon Sep 17 00:00:00 2001 From: John Grant Date: Wed, 9 Jul 2014 14:22:56 +0100 Subject: [PATCH] Update Tests.cs PostgreSQL syntax error - insert into tcat(breed, name) values(:breed, :name) --- Tests/Tests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/Tests.cs b/Tests/Tests.cs index 674e18a..09e2ad0 100644 --- a/Tests/Tests.cs +++ b/Tests/Tests.cs @@ -3090,7 +3090,7 @@ public void TestPostresqlArrayParameters() conn.Open(); IDbTransaction transaction = conn.BeginTransaction(); conn.Execute("create table tcat ( id serial not null, breed character varying(20) not null, name character varying (20) not null);"); - conn.Execute("insert tcat(breed, name) values(:breed, :name) ", Cats); + conn.Execute("insert into tcat(breed, name) values(:breed, :name) ", Cats); var r = conn.Query("select * from tcat where id=any(:catids)", new { catids = new[] { 1, 3, 5 } }); r.Count().IsEqualTo(3); -- GitLab