feat: Add PostgreSQL and Redis client support
- Add PostgreSQL client functionality for database interactions. - Add Redis client functionality for cache and data store operations. - Extend Rhai scripting with PostgreSQL and Redis client modules. - Add documentation and test cases for both clients.
This commit is contained in:
@@ -37,6 +37,8 @@ pub fn register_redisclient_module(engine: &mut Engine) -> Result<(), Box<EvalAl
|
||||
// Register other operations
|
||||
engine.register_fn("redis_reset", redis_reset);
|
||||
|
||||
// We'll implement the builder pattern in a future update
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
@@ -321,3 +323,5 @@ pub fn redis_reset() -> Result<bool, Box<EvalAltResult>> {
|
||||
))),
|
||||
}
|
||||
}
|
||||
|
||||
// Builder pattern functions will be implemented in a future update
|
||||
|
||||
Reference in New Issue
Block a user