[go: up one dir, main page]

postgres 0.4.3

A native PostgreSQL driver
1
2
3
4
5
6
7
8
9
10
extern crate uuid;

use types::test_type;

#[test]
fn test_uuid_params() {
    test_type("UUID", &[(Some(uuid::Uuid::parse_str("a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11").unwrap()),
                        "'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'"),
                       (None, "NULL")])
}