Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON & JSONB DbType #184

Open
EMDL-bot opened this issue Jul 18, 2020 · 1 comment
Open

JSON & JSONB DbType #184

EMDL-bot opened this issue Jul 18, 2020 · 1 comment

Comments

@EMDL-bot
Copy link

Chloe.Exceptions.ChloeException
An exception occurred while executing DbCommand. For details please see the inner exception. 42804: column "actions" is of type json but expression is of type text

Inner Exception 1:
PostgresException: 42804: column "actions" is of type json but expression is of type text

class A 
{
     [Column("actions")]
     public string Actions {get; set;}
}

@shuxinqin
Copy link
Owner

https://github.com/shuxinqin/Chloe/blob/master/src/ChloeDemo/String_MappingType.cs#L42

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants