I m trying do an acoount application, with, fluttera and firestore, can you say me how can i solve, add money and controll money belong to anyone or any employee .... When i add to arrayunion, it dosent solve my problem, when i add money to update in employee collection one by one cant create ID for details... can you do a video about , creating employee and adding and delete some money belong thems... Thanks
@chidiebereedeh99972 жыл бұрын
@@akatproje3448 I will send u my WhatsApp number so we can set up a video call so I can see ur code.
@akatproje34482 жыл бұрын
@@chidiebereedeh9997 ok thanks for your idea,, and i will be happy then, through this time ; i have wrote it like this codes.. . it was succeed codes shown like below : very comfartable and useful codes are here i see //#### Addlist() { FirebaseFirestore.instance.collection("Controll").doc(title.text).update({ 'Paylist': FieldValue.arrayUnion([ { 'receive': t4.text, 'dept amount: t5.text, 'date': DateTime.now(), 'group': t6.text, 'explain': t7.text } ]), }).whenComplete(() => print("pay list added")); } //##### after this i will try to read in a table or listview and possible update and delete,, at last i will try to sum receive and dept from arrayUninon
@akatproje34482 жыл бұрын
@@chidiebereedeh9997 Dear friend , i want to read and show my data from firestore in arrayunion to in listview , was it possible? Can you help me to do it? Or can you make a video like this, read data from arrayunion?how?