feat: propagate origin and trigger to cdc and changes
This commit is contained in:
@ -20,6 +20,12 @@ pub trait DatabaseExecutor: Send + Sync {
|
||||
/// Returns the current transaction timestamp
|
||||
fn timestamp(&self) -> Result<String, String>;
|
||||
|
||||
/// Returns the current auth.origin session context if configured
|
||||
fn auth_origin(&self) -> Result<Option<Value>, String>;
|
||||
|
||||
/// Returns the current punc.name session context if configured
|
||||
fn punc_trigger(&self) -> Result<Option<String>, String>;
|
||||
|
||||
#[cfg(test)]
|
||||
fn get_queries(&self) -> Vec<String>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user