1
00:00:02,570 --> 00:00:08,510
Now, two functionalities that we need another application add, as well as delete because we need to

2
00:00:08,510 --> 00:00:14,310
add transactions as we and we also need to get the ability to delete one writer for that purpose.

3
00:00:14,370 --> 00:00:20,360
Will be adding two functions into our app that is going to have the ability to add transactions as well

4
00:00:20,360 --> 00:00:21,110
as delete them.

5
00:00:21,440 --> 00:00:26,450
And then one of them will passing into expense sheet because that's where deletion part is going to

6
00:00:26,450 --> 00:00:32,620
occur and when is going to be passed on new transactions and figure out which one is going to pass one

7
00:00:32,780 --> 00:00:35,030
new transaction that is going to be the property, right?

8
00:00:35,360 --> 00:00:37,640
So let's just create the two functions.

9
00:00:38,090 --> 00:00:40,820
So let me just zoom it.

10
00:00:41,960 --> 00:00:47,090
OK, so the first option is going to be the add function that is going to add properties in order.

11
00:00:49,970 --> 00:00:52,850
It should be counted as transactions.

12
00:00:58,420 --> 00:01:03,880
Transactions and this is going to be an out of function that is going to take our transactions as a

13
00:01:03,880 --> 00:01:04,480
parameter.

14
00:01:15,740 --> 00:01:16,280
And.

15
00:01:18,050 --> 00:01:24,380
Its function is going to be it is going to set you the setup function so that it can set up transactions.

16
00:01:27,540 --> 00:01:32,520
They're going to take a transaction and it is going to return transactions.

17
00:01:34,800 --> 00:01:35,770
With a new area.

18
00:01:48,000 --> 00:01:49,890
As well as are all transactions.

19
00:01:51,750 --> 00:01:57,840
OK, so having to have a new I that we just made, as well as our old ones, so this means that no one

20
00:01:57,840 --> 00:02:02,280
is going to be shown first and later will come on all the transactions that we did in the past.

21
00:02:02,820 --> 00:02:09,240
So we have set up our search function or let's just put it into a new transaction because it needs to

22
00:02:09,240 --> 00:02:11,400
access our transactions properly.

23
00:02:12,030 --> 00:02:16,380
So let's just put it our transactions equal to.

24
00:02:17,440 --> 00:02:19,130
And transactions.

25
00:02:19,900 --> 00:02:22,420
So we have passed a certain transaction functions.

26
00:02:22,720 --> 00:02:26,830
Now it's time to create another function that is going to delete the transactions.

27
00:02:27,430 --> 00:02:34,980
So for that purpose, move into your app file and then just create a function known as fast.

28
00:02:44,420 --> 00:02:49,280
This is going to take the ideal transition that is to be deleted, otherwise how they're they're going

29
00:02:49,280 --> 00:02:52,130
to know which transition is supposed to be deleted, right?

30
00:02:52,790 --> 00:02:54,470
So let's just move it.

31
00:02:56,710 --> 00:02:58,510
Now we just said transactions.

32
00:03:00,310 --> 00:03:04,390
And this time we are going to further out the transaction that we want to delete.

33
00:03:04,750 --> 00:03:08,050
So again, transactions don't filter.

34
00:03:09,640 --> 00:03:13,930
Now it is going to return as an area of numbers and transactions.

35
00:03:20,520 --> 00:03:21,210
Equal to.

36
00:03:25,800 --> 00:03:34,380
Transactions that it should not be equal to the idea that has been passed to us, so what are they going

37
00:03:34,380 --> 00:03:39,960
to do if the I.D. matches it won't be passing that it won't be passing that particular element?

38
00:03:40,390 --> 00:03:47,220
I suppose if I just delete the fifth bag, the groceries, but then it is going to come to the of function

39
00:03:47,490 --> 00:03:52,100
and it is not going to match until unless it is going to pay.

40
00:03:52,110 --> 00:03:56,910
But if it is going to match right, then the condition is going to be false, then it won't be returning

41
00:03:56,910 --> 00:03:58,110
that particular element.

42
00:03:58,350 --> 00:04:00,840
So that's how I will be deleting a transaction.

43
00:04:00,870 --> 00:04:07,020
Now we need to pass the delete transaction to expert transaction so that it can have the properly deleted.

44
00:04:07,440 --> 00:04:12,780
So let's just name a delete transactions and parcel the function delete transactions.

45
00:04:13,680 --> 00:04:16,500
So we have almost completed our app section.

46
00:04:16,740 --> 00:04:19,080
Now what remains is the mix sides.

47
00:04:19,380 --> 00:04:20,610
So let's make it now.
