Skip to main content

drizzle_postgres/traits/
table.rs

1use drizzle_core::SQLTable;
2
3use crate::common::PostgresSchemaType;
4use crate::values::PostgresValue;
5
6pub trait PostgresTable<'a>: SQLTable<'a, PostgresSchemaType, PostgresValue<'a>> {}
7
8impl<'a, T> PostgresTable<'a> for &T
9where
10    T: PostgresTable<'a>,
11    for<'r> &'r T: SQLTable<'a, PostgresSchemaType, PostgresValue<'a>>,
12{
13}