Skip to content
#

odm

Here are 172 public repositories matching this topic...

MihailButnaru
MihailButnaru commented Jul 25, 2019

I was facing a problem and by reading the documentation, I was not be able to find the solution to the problem. The raw query section does not provide enough information, of how to use raw query method in different problems. Will be nice to add a section in the raw query that explains you, how to query a specific record through a nested array in mongo db.

` Example: Document.objects(raw={"_

hasezoey
hasezoey commented Oct 14, 2019

Discriminators need:

  • better tests (because tests are examples of how to use it too)
  • better / actual documentation (#16)
  • rework the already existing test(s) to be better understandable

specific question for @B-Stefan:
(i already asked on discord, but remade it to here)
why does the (base) model of inheritanceClass(tests/models) have an discriminatorKey which is type of `n

otistamp
otistamp commented Jan 14, 2020

Unless I'm not seeing the reference, there is no way to access the parent document from inside an embedded document instance method without passing in the document when calling the function. This is particularly useful for integration objects but I'm sure there are benefits for other use cases.

for example:

class EmbeddedIntegration(umongo.EmbeddedDocument):
    api_obj_id = fields
dphrag
dphrag commented Mar 4, 2020

I'm getting Property '_id' does not exist on type (or Property 'id' does not exist on type) on an array

blah: Type.array().of({
etc: Type.string()
})

blah._id => no property.

All arrays in mongoose by default have _id. Am I doing something wrong?

VuongN
VuongN commented Oct 24, 2019
  • It appears that docs are quite outdated, some crucial docs aren't there, I found stuff from reading docs but I feel that others might benefits from an updated docs. I would love to contribute, but haven't figure out the "contributor" docs :P
  • New version (v5.4.0) was released recently but I couldn't find the change log. Could you point me toward the change logs? I was reading through the comm
Open

Docs?

1
chmac
chmac commented Sep 20, 2017

Sounds like monogram is something like a redux inspired driver for MongoDB in Node. Sounds like it could be super helpful, but I'm not really sure. Are there docs anywhere? I've read the README but I didn't see an API definition, example usage, etc. I somewhat understood the test cases, but I'm not sure what Test.pre(), Test.action$.subscribe() etc do, what their function signature is, etc.

Improve this page

Add a description, image, and links to the odm topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the odm topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.