Can we store hashmap in mongoDB using loopbackDifferences between HashMap and Hashtable?Iterate through a HashMapMongoDB vs. CassandraHow to query MongoDB with “like”?How to update a value, given a key in a hashmap?How do I drop a MongoDB database from the command line?How to preserve insertion order in HashMap?“Large data” work flows using pandasadmin Role within the loopbackLoopback automigrate many to many

Madrid to London w/ Expired 90/180 days stay as US citizen

Twelve Minesweeper mines that make twelve 4s

As an employer, can I compel my employees to vote?

Schelling's model of Segregation Python implementation with Geopandas (Follow-up)

Intuitive methods for representation of Cartesian Coordinates in terms of Spherical Coordinates as basis

Tips for remembering the order of parameters for ln?

What did the controller say during my approach to land (audio clip)?

Can one guy with a duplicator initiate a nuclear apocalypse?

Debussy as term for bathroom?

Why do we need to use transistors when building an OR gate?

Is there any actual security benefit to restricting foreign IPs?

What are the end bytes of *.docx file format

Cemented carbide swords - worth it?

Get the encrypted payload from an unencrypted wrapper PDF document

All numbers in a 5x5 Minesweeper grid

I was cheated into a job and want to leave ASAP, what do I tell my interviewers?

Probability of rolling a specific combination of results with nd6

Manager manipulates my leaves, what's in it for him?

Simulate a 1D Game-of-Life-ish Model

What to do as a player when ranger animal companion dies

Changing States from child through parent while obeying SOLID principles

Dear Fellow PSE Users,

Algorithm for competing cells of 0s and 1s

Unable to see packet drops on tunnels



Can we store hashmap in mongoDB using loopback


Differences between HashMap and Hashtable?Iterate through a HashMapMongoDB vs. CassandraHow to query MongoDB with “like”?How to update a value, given a key in a hashmap?How do I drop a MongoDB database from the command line?How to preserve insertion order in HashMap?“Large data” work flows using pandasadmin Role within the loopbackLoopback automigrate many to many






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I'm using MongoDB with Loopback as backend stack for my application. I want to store a hashmap in MongoDB model/table. If I use an array it uses custom indexes (i.e 0,1,2...). I want these indexes to be hash key. Following is my desired structure in DB, and it needs to be implemented through loopback 3.xx



enter image description here



The issue is that loopback does not support hashmap property type.
Does anybody know a workaround?? would be a great help










share|improve this question


























  • Is mechanicResponded an embeded relation or an hashmap property? If it's a relation, maybe you could use a mix of embeds many and custom ID?

    – akkonrad
    Mar 28 at 15:21












  • @akkonrad mechanicResponded is not a relation, it's a key of order object. it will hold a hashmap as a value.

    – Az Sidhu
    Mar 28 at 18:08












  • so then you can use the embeds many only, that should solve your issue.

    – akkonrad
    Mar 29 at 9:00


















0















I'm using MongoDB with Loopback as backend stack for my application. I want to store a hashmap in MongoDB model/table. If I use an array it uses custom indexes (i.e 0,1,2...). I want these indexes to be hash key. Following is my desired structure in DB, and it needs to be implemented through loopback 3.xx



enter image description here



The issue is that loopback does not support hashmap property type.
Does anybody know a workaround?? would be a great help










share|improve this question


























  • Is mechanicResponded an embeded relation or an hashmap property? If it's a relation, maybe you could use a mix of embeds many and custom ID?

    – akkonrad
    Mar 28 at 15:21












  • @akkonrad mechanicResponded is not a relation, it's a key of order object. it will hold a hashmap as a value.

    – Az Sidhu
    Mar 28 at 18:08












  • so then you can use the embeds many only, that should solve your issue.

    – akkonrad
    Mar 29 at 9:00














0












0








0








I'm using MongoDB with Loopback as backend stack for my application. I want to store a hashmap in MongoDB model/table. If I use an array it uses custom indexes (i.e 0,1,2...). I want these indexes to be hash key. Following is my desired structure in DB, and it needs to be implemented through loopback 3.xx



enter image description here



The issue is that loopback does not support hashmap property type.
Does anybody know a workaround?? would be a great help










share|improve this question
















I'm using MongoDB with Loopback as backend stack for my application. I want to store a hashmap in MongoDB model/table. If I use an array it uses custom indexes (i.e 0,1,2...). I want these indexes to be hash key. Following is my desired structure in DB, and it needs to be implemented through loopback 3.xx



enter image description here



The issue is that loopback does not support hashmap property type.
Does anybody know a workaround?? would be a great help







mongodb hashmap loopbackjs






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 28 at 14:23







Az Sidhu

















asked Mar 28 at 14:15









Az SidhuAz Sidhu

163 bronze badges




163 bronze badges















  • Is mechanicResponded an embeded relation or an hashmap property? If it's a relation, maybe you could use a mix of embeds many and custom ID?

    – akkonrad
    Mar 28 at 15:21












  • @akkonrad mechanicResponded is not a relation, it's a key of order object. it will hold a hashmap as a value.

    – Az Sidhu
    Mar 28 at 18:08












  • so then you can use the embeds many only, that should solve your issue.

    – akkonrad
    Mar 29 at 9:00


















  • Is mechanicResponded an embeded relation or an hashmap property? If it's a relation, maybe you could use a mix of embeds many and custom ID?

    – akkonrad
    Mar 28 at 15:21












  • @akkonrad mechanicResponded is not a relation, it's a key of order object. it will hold a hashmap as a value.

    – Az Sidhu
    Mar 28 at 18:08












  • so then you can use the embeds many only, that should solve your issue.

    – akkonrad
    Mar 29 at 9:00

















Is mechanicResponded an embeded relation or an hashmap property? If it's a relation, maybe you could use a mix of embeds many and custom ID?

– akkonrad
Mar 28 at 15:21






Is mechanicResponded an embeded relation or an hashmap property? If it's a relation, maybe you could use a mix of embeds many and custom ID?

– akkonrad
Mar 28 at 15:21














@akkonrad mechanicResponded is not a relation, it's a key of order object. it will hold a hashmap as a value.

– Az Sidhu
Mar 28 at 18:08






@akkonrad mechanicResponded is not a relation, it's a key of order object. it will hold a hashmap as a value.

– Az Sidhu
Mar 28 at 18:08














so then you can use the embeds many only, that should solve your issue.

– akkonrad
Mar 29 at 9:00






so then you can use the embeds many only, that should solve your issue.

– akkonrad
Mar 29 at 9:00













0






active

oldest

votes










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);














draft saved

draft discarded
















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55399817%2fcan-we-store-hashmap-in-mongodb-using-loopback%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes




Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.







Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.




















draft saved

draft discarded















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55399817%2fcan-we-store-hashmap-in-mongodb-using-loopback%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

용인 삼성생명 블루밍스 목차 통계 역대 감독 선수단 응원단 경기장 같이 보기 외부 링크 둘러보기 메뉴samsungblueminx.comeh선수 명단용인 삼성생명 블루밍스용인 삼성생명 블루밍스ehsamsungblueminx.comeheheheh

155 수학 과학 기타 둘러보기 메뉴eh추가해eh문서를 완성해