#[derive(AsJsonb)]
struct Something {
thing: String,
}
struct Wrapper {
things: Vec<Something> // For field type Array<Jsonb>
thing: Something // For field type Jsonb
}
-
Notifications
You must be signed in to change notification settings - Fork 10
Allows struct to be used as jsonb with diesel and PG
License
terry90/diesel_as_jsonb
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Allows struct to be used as jsonb with diesel and PG
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published