bind_naive_time

Function bind_naive_time 

Source
pub fn bind_naive_time(
    query_args: &mut AnyArguments<'_>,
    value: &NaiveTime,
    driver: &Drivers,
) -> Result<(), Error>
Expand description

Binds a NaiveTime value to a SQL query based on the database driver.

§Arguments

  • query_args - The SQLx AnyArguments to bind the value to
  • value - The NaiveTime value to bind
  • driver - The database driver being used

§Database-Specific Behavior

All drivers use standard TIME type with format “HH:MM:SS.ffffff”