Skip to content

Conversation

@Huliiiiii
Copy link
Member

New Features

  • Add as_types to PostgresValues

@Huliiiiii Huliiiiii requested review from Expurple and tyt2y3 August 31, 2025 15:32
#[cfg(feature = "postgres-array")]
Value::Array(ty, _) => array_type_to_pg_type(ty),
#[cfg(feature = "postgres-vector")]
Value::Vector(_) => todo!(),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this is the reason it is still WIP?
for non built-in types I think there is no way we can statically know the type id.
which mean we need to make this function fallible (return Result) sad

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

Successfully merging this pull request may close these issues.

postgres: create typed prepared statements

3 participants