feat: propagate origin and trigger to cdc and changes
This commit is contained in:
@ -206,6 +206,16 @@ impl Database {
|
||||
self.executor.timestamp()
|
||||
}
|
||||
|
||||
/// Returns the current auth.origin session context if configured
|
||||
pub fn auth_origin(&self) -> Result<Option<Value>, String> {
|
||||
self.executor.auth_origin()
|
||||
}
|
||||
|
||||
/// Returns the current punc.name session context if configured
|
||||
pub fn punc_trigger(&self) -> Result<Option<String>, String> {
|
||||
self.executor.punc_trigger()
|
||||
}
|
||||
|
||||
pub fn compile(&mut self, errors: &mut Vec<crate::drop::Error>) {
|
||||
// Phase 1: Registration
|
||||
self.collect_schemas(errors);
|
||||
|
||||
Reference in New Issue
Block a user