I have in the state most of the item I wanted to push it in an array
and I want to push all state to except some item
so here's my state
state = {
    username: '..',
    date: '..',
    time: '..',
    description: '..',
    images: '..',
    buildingNumber: '..',
    status: '..',
    serviceDB: '..',
    snapshotKey: '..', // i don't need this when pushed
    count: -1, // i don't need this when pushed
  };
here's my code
 let order = [];
    order.push(this.state);
    console.log(order); it's log all state 
// I want to push it to DB
    database()
      .ref(`Providers/ProvidersOrders/${uid}`)
      .push(...order);
  };
 
     
     
    