fraiseql-db 2.3.0

Database abstraction layer for FraiseQL v2
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use super::*;

#[test]
fn test_factory_creation() {
    let factory = WireClientFactory::new("postgres://localhost/test");
    assert_eq!(factory.connection_string(), "postgres://localhost/test");
}

#[test]
fn test_factory_clone() {
    let factory1 = WireClientFactory::new("postgres://localhost/test");
    let factory2 = factory1.clone();
    assert_eq!(factory1.connection_string(), factory2.connection_string());
}