genRandomUuid function
Calls the gen_random_uuid function in postgres.
Implementation
Expression<UuidValue> genRandomUuid() {
return FunctionCallExpression(
'gen_random_uuid',
[],
).dartCast(customType: PgTypes.uuid);
}
Calls the gen_random_uuid function in postgres.
Expression<UuidValue> genRandomUuid() {
return FunctionCallExpression(
'gen_random_uuid',
[],
).dartCast(customType: PgTypes.uuid);
}