AngularFire with multiple children
-
19-10-2022 - |
سؤال
I am trying to create a firebase parent with multiple children. I looked into the documentation and I can't figure how to create many children in parallel level of my board child.
@unbind() if @unbind
@id = @uniqueId()
@dbRef = new Firebase url + "#{@id}"
@db = @$firebase @dbRef.child('board')
@db.$bind( @$scope, 'cells' ).then (unbind) =>
@unbind = unbind
This is my code so far.
tictactoe-lau
5e776bvj
board
0: value
3: value
4: value
5: value
6: value
7: value
This is the structure of my current db. I want 5e776bvj
to have additional children, parallel to the board
level.
لا يوجد حل صحيح
لا تنتمي إلى StackOverflow