Closed billykirk01 closed 3 years ago
Hey! RegExps is already supported and does not require a helper function. Here is example:
import { Database } from 'https://deno.land/x/aloedb/mod.ts';
const db = new Database();
await db.insertOne({ foo: 'bar baz' });
await db.findOne({ foo: /bar/g }); // Will work fine
I know, it's not mentioned at the moment. My fault. I am currently working on the documentation, so when I'm finished, there will be much less confusion like this one.
That's excellent news! I will close this issue. Let me know if there is anything I can help out with on this project. Thanks again!
This addresses #4 if you will accept this new feature.