Astrid Ivy

Results 35 comments of Astrid Ivy

There was no way to pass additional config to the collections automatically created by Neko, I'm putting some in now. The API will be ```javascript ko.Model('Timestamped', { schema: ko.String, etc:...

Ok as of nekodb version 2.4.0 you should be able to pass in timestampData option to NeDB. Let me know how it goes

Ok I doubted myself, but they are in fact being saved to the database they're just not accessible via the model. All you have to do is add ``` createdAt:...

You can do `model.slice()` to convert the object to a plain object, but it's still only going to have the fields the model knows about.

hi thanks for your interest in nekodb ! im afraid all ive got is bad news for you though . as for TypeScript types , I've never used TS so...

I don't think it's a good idea to have an optional reference in your schema.

ah could be a strict mode thing or maybe electron doesn't have a global scope or... anyway those should indeed not be global variables, essentially a typo on my part....

Can you elaborate or maybe give an example? There is a prevalidate hook as well as a presave hook though I'm not sure which you need without an example. ```javascript...

In the meanwhile, you can use Object.assign(instance, {field: 'newValue'}) to accomplish this yourself

Also support custom Model methods