-
I was interested in using the library because i found it very handy in terms of translating Mongoose Schemas to GraphQLObjects. I was blown away by how good it works but i noticed something. In models…
-
DeprecationWarning: open() is deprecated in mongoose >= 4.11.0, use openUri() instead, or set the useMongoClient option if using connect() or createConnection().
ghost updated
6 years ago
-
I'm trying to add a Point type to my schema which follows this format
```
point: {
type: "Point",
coordinates: [ 40, 5 ]
}
```
I figured the following approach would work
```
…
-
Just referencing here, since we don't have a pull request to comment on.
Everything looks good, haven't tested the code yet.
Comments posting here, as I find them.
### Timestamps
I think…
-
* Update item doc
* Update group docs if item get's added/removed from groups
flxwu updated
5 years ago
-
Watchout: Check how to update (.update/.save)? cuz save will likely not work because of duplicate check
flxwu updated
5 years ago
-
City Document :
{
"_id" : ObjectId("555ec317e6e8ce4e0d3c2541"),
"state" : ObjectId("54f91ea29f2e20e67d61ba6c"),
"deleted" : false,
"created" : ISODate("2015-05-22T05:48:07.831Z"),
"description" …
-
-
Hello,
I'm looking into adding text search with relevance scoring into my project. I see MongoDB has this feature (at least in 4.4+): https://docs.mongodb.com/v4.4/text-search/#sorting
It looks …
-
Mongoose has the property `immutable` for a field. It would be cool to add this option in the plugin.
for example: `SomeSchema.plugin(mongoTenant, { ... , immutable: true });`
Thanks in advance