Open HAPPYY opened 11 years ago
You have to either create another table to map that embedded attribute or - which I think is easier - create a text column to store as JSON (that won't be useful if you need to use the data for SQL data analysis).
Sorry I can't be of more help...
Thanks for help, we have already tried these methods what you said. (1).i created another table but how can i relate two tables when there aren't reference id? (2).create a text column it's really hard to group by some embedded attribute ,i have to join similar sq l sentences ,I can analysis simple situations but can't dig deep information...
hope more guys come here to discuss this question~
mongodb: cus: :columns:
This doesn't work for me. Is there any way of dealing with multiple embeds yet?
More documentation / examples of this being done would be welcome, at this point it seems like I'd be better off with manual migrations given the number of embedded models I have.
table: cus
column: utm
embed column: utm_source
etc:
2.collections.yml
mongodb: cus: :columns: