Add scope data to $session object

This commit is contained in:
Tobie Morgan Hitchcock 2022-09-05 00:55:51 +01:00
parent 6f0ff853f8
commit 491806aa75

View file

@ -107,6 +107,7 @@ impl Session {
"ns".to_string() => self.ns.to_owned().into(), "ns".to_string() => self.ns.to_owned().into(),
"db".to_string() => self.db.to_owned().into(), "db".to_string() => self.db.to_owned().into(),
"sc".to_string() => self.sc.to_owned().into(), "sc".to_string() => self.sc.to_owned().into(),
"sd".to_string() => self.sd.to_owned().into(),
}); });
ctx.add_value(key, val); ctx.add_value(key, val);
// Output context // Output context