let variable = "-KyCVrQ3WnarYdl6u9cp"
this.db.list('/data/{{variable}}').remove();
How do i use variables in path ?
i tried
{variable}
[variable]
${variable}
couldnt make it work.
thanks
you can try this
this.db.list('/data/'+variable).remove();