How swoft uses sql queries from other libraries

problem description

other official database query methods are
Query::table (User::class)-> selectInstance ("other")-> where (" id", $userid)-> limit (1)-> get ()-> getResult ();
but I find it troublesome. I want to operate other databases in the form of native SQL statements:
$result = Db::query ("insert into user (name, sex,description, age) values ("". $name. "", 1," xxxx ", 99)")-> getResult ();
but Db seems to be a static class. How can I make Db"s database connection point to another library

the environmental background of the problems and what methods you have tried

I have tried to use this
Swoft::getPool ("zj.master")-> getConnection ()
but I can"t find the relevant method. There are too few documents on the official website!

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

Nov.10,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e96651-46316.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e96651-46316.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?