Function quaint::ast::native_uuid

source ·
pub fn native_uuid() -> Expression<'static>
Expand description

Generates the function uuid_to_bin(uuid()) returning a binary uuid in MySQL

let query = Select::default().value(native_uuid());
let (sql, _) = Mysql::build(query)?;

assert_eq!("SELECT uuid()", sql);