Dear, I am developing an account plan and I am using a non-relational database (I hope I have not made a mistake), and I need to make it possible to create an account plan with firebase. In addition to Firebase I'm using Vuejs, but at the moment of creating the structure:
{
"Activo": {
"Sub cuenta de activo": {
"nombre": ""
},"Sub cuenta de activo 2": { ""},.....
}
},
"Pasivo": {
"Sub cuenta de pasivo": {
"nombre": ""
},"Sub cuenta de pasivo 2": { ""},.....
}
}
}
And so (Sub asset account 3..etc), keep creating infinitely sub accounts of assets or liabilities. For this I think I need to know how to create or add .chield () to the referral URL to perform the corresponding push () associated with the ID of the "table" or object. I was looking for thousands of ways but I always came to the same problem, having to manually add the reference url. To pass in clean, want to know how to create a method in Vuejs where you can add .chield () automatically without manually doing it manually. For example, applying the singleton development pattern.