public SqlParser(ILiteEngine engine, Tokenizer tokenizer, BsonDocument parameters) { _engine = engine; _tokenizer = tokenizer; _parameters = parameters ?? new BsonDocument(); _collation = new Lazy <Collation>(() => new Collation(_engine.Pragma(Pragmas.COLLATION))); }
/// <summary> /// Get value from internal engine variables /// </summary> public BsonValue Pragma(string name) { return(_engine.Pragma(name)); }