MCPcopy Create free account
hub / github.com/erans/pgsqlite / test_current_schema

Function test_current_schema

src/functions/system_functions.rs:542–548  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

540
541 #[test]
542 fn test_current_schema() {
543 let conn = Connection::open_in_memory().unwrap();
544 register_system_functions(&conn).unwrap();
545
546 let schema: String = conn.query_row("SELECT current_schema()", [], |row| row.get(0)).unwrap();
547 assert_eq!(schema, "public");
548 }
549
550 #[test]
551 fn test_current_user() {

Callers

nothing calls this directly

Calls 2

getMethod · 0.45

Tested by

no test coverage detected