In-memory adapter with basic support of mongo queries