1
00:00:00,150 --> 00:00:01,740
Hello, friend, welcome back.

2
00:00:02,070 --> 00:00:07,070
In a previous video, we successfully complete our create position, that means the admission.

3
00:00:07,080 --> 00:00:10,440
So from here now we can actually add our new musician, right?

4
00:00:10,710 --> 00:00:12,810
So now I want to do I want to update it.

5
00:00:13,080 --> 00:00:18,000
So if you want to update it, there have also another class that are also another building class.

6
00:00:18,000 --> 00:00:19,530
We have to, first of all, call it.

7
00:00:19,650 --> 00:00:23,480
That is our last name as our date view.

8
00:00:23,910 --> 00:00:27,780
OK, so I just simply, first of all, defining it as an updated view.

9
00:00:27,990 --> 00:00:31,050
And now also we have to do we have to create one of the class.

10
00:00:31,160 --> 00:00:35,970
So after this after this, I want to do and create another class.

11
00:00:37,050 --> 00:00:39,270
And I just named this class as update.

12
00:00:42,190 --> 00:00:50,440
OK, I did, and the musician, I name it as ablate musician and also to be in a date with our this

13
00:00:50,440 --> 00:00:52,030
class, that means the added value.

14
00:00:52,030 --> 00:00:54,690
Plus I just simply defined our ability class.

15
00:00:55,040 --> 00:00:55,360
Right.

16
00:00:55,690 --> 00:00:58,020
And after that, we start out, you want to update.

17
00:00:58,030 --> 00:01:03,280
So you also have to define that field like it's either simply defined as the field.

18
00:01:03,280 --> 00:01:06,690
And with this field, I want to do I want to define our field names.

19
00:01:06,700 --> 00:01:10,210
I want to update our first name, first name.

20
00:01:10,210 --> 00:01:13,330
And also I want to do and update our installment.

21
00:01:16,430 --> 00:01:21,710
That's all that our database feeds them, so here I only want to update our database feed as a first

22
00:01:21,710 --> 00:01:28,040
name and the statement, and after that we have to do we have to define our model and then our models

23
00:01:30,740 --> 00:01:36,710
or models and those models we start out on top that I don't doubleheaders lot of along with the table.

24
00:01:37,610 --> 00:01:42,800
So to simply define our musician table name and also here we have to do we have to update it with a

25
00:01:42,800 --> 00:01:44,210
specific one of the idea.

26
00:01:44,220 --> 00:01:44,550
Right.

27
00:01:44,570 --> 00:01:50,990
That means if you want to update like is it so if you want to update a specific this name that means

28
00:01:50,990 --> 00:01:56,450
a fast name and the instrument, then you have to also updated with the specific one of the that is

29
00:01:56,450 --> 00:01:57,050
wanted.

30
00:01:57,560 --> 00:02:00,620
You want to update do you want to update Seven Idee?

31
00:02:00,650 --> 00:02:03,390
If you want to update it, then you have to define that idea.

32
00:02:03,920 --> 00:02:07,590
So this will be for that business we have to do we have to create all the wall.

33
00:02:07,610 --> 00:02:11,690
So go to what you won't tell anybody what is will be just like that.

34
00:02:11,690 --> 00:02:17,690
Same because in our musician details, I have also defined the idea, so it'll be just like the same.

35
00:02:17,700 --> 00:02:20,300
So here I have defined as a musician, not details.

36
00:02:20,300 --> 00:02:21,730
I name it as an update.

37
00:02:23,060 --> 00:02:24,590
OK, just name it as update.

38
00:02:24,590 --> 00:02:26,720
And also it will be updated with Piqué.

39
00:02:26,730 --> 00:02:28,040
That means the Primerica.

40
00:02:28,280 --> 00:02:32,660
And also I have created one of the class, in our view, into The View.

41
00:02:32,660 --> 00:02:35,190
I have created class name as an object musician.

42
00:02:35,300 --> 00:02:40,490
So I just simply defined that name as a musician, as you and I have, I name it.

43
00:02:40,490 --> 00:02:44,360
I named this part as a musician, object, a friend.

44
00:02:44,930 --> 00:02:52,010
And also here we have to do we have to define on the bottom like here, when this data will be in our

45
00:02:52,040 --> 00:02:54,020
details space into the details area.

46
00:02:54,050 --> 00:02:59,000
I want to do I want to create another button for the update so quickly as an update, then this will

47
00:02:59,000 --> 00:02:59,870
be updated.

48
00:02:59,900 --> 00:03:05,180
OK, so for doing this, we have to do have to add this button in our musician details.

49
00:03:05,750 --> 00:03:09,750
So now go to our fast app and that is our musician details.

50
00:03:09,750 --> 00:03:10,820
So after this.

51
00:03:10,820 --> 00:03:17,810
OK, so after this year, I want to take one of the active say to simplify the Haviv and also here define

52
00:03:17,810 --> 00:03:26,510
what the class does, defend the class as a bit and and I name it as another class as a warning.

53
00:03:27,740 --> 00:03:34,340
OK, just name it as a meeting between orning and then between Assam and then it shall be as object,

54
00:03:34,520 --> 00:03:36,010
say, to simply the update.

55
00:03:36,320 --> 00:03:40,160
And also here we have to do have to define our model so that they overlap.

56
00:03:40,160 --> 00:03:44,630
But they have already created sorry that be as a percentage.

57
00:03:45,350 --> 00:03:48,460
OK, so this person is our key as you.

58
00:03:48,610 --> 00:03:55,340
Well and then also you know what you are al-Attiyah with our app name, I have created one of the paths

59
00:03:55,340 --> 00:03:57,640
as a musician data the musician objects.

60
00:03:57,680 --> 00:03:57,910
Right.

61
00:03:58,220 --> 00:04:00,590
So I just simply copied that fast app.

62
00:04:01,130 --> 00:04:03,820
So that is our fast tap and into the fast tap here.

63
00:04:03,830 --> 00:04:05,540
Also we have to define our path.

64
00:04:05,540 --> 00:04:07,640
So I have already created one of the real path.

65
00:04:07,640 --> 00:04:09,380
So that is all musician update's.

66
00:04:09,380 --> 00:04:11,870
I just simply ibid that musician.

67
00:04:12,140 --> 00:04:12,470
Right.

68
00:04:12,650 --> 00:04:16,610
And also here we have to do we have to define not the idea because of all here.

69
00:04:16,610 --> 00:04:21,040
You can see I have also defined out the idea as a musician and idea as a paramedic.

70
00:04:21,590 --> 00:04:24,710
So now also we have to do the same things that we did before.

71
00:04:25,040 --> 00:04:31,250
Like I just take that things with the picture and we get with this here I get all the data with our

72
00:04:31,250 --> 00:04:31,940
musician.

73
00:04:31,940 --> 00:04:32,360
Right.

74
00:04:32,360 --> 00:04:34,220
So I already get all that.

75
00:04:34,220 --> 00:04:36,410
Our musician details that with this musician.

76
00:04:36,410 --> 00:04:41,690
If you go to our view into the musician details here, I have all the data with this musician.

77
00:04:41,690 --> 00:04:41,930
Right.

78
00:04:42,380 --> 00:04:44,330
And also here I displayed.

79
00:04:44,330 --> 00:04:47,930
So now with this musician, I want to do want to access our ID.

80
00:04:48,470 --> 00:04:51,830
So with this musician, I want to access our IDR.

81
00:04:52,040 --> 00:04:54,770
I am defending by default one as a picture.

82
00:04:54,770 --> 00:04:55,920
That is the primary key.

83
00:04:56,180 --> 00:05:01,210
So now you going to see one of the music like here, a few knuckleheads save all.

84
00:05:02,060 --> 00:05:04,070
You will be very much interactive.

85
00:05:04,070 --> 00:05:09,770
One of the things how much easier it is like here, if you go to that home, what would that ghazarian

86
00:05:10,070 --> 00:05:15,950
and now if you click on the update, you can see I didn't defined any form by default.

87
00:05:15,950 --> 00:05:18,290
It's actually getting our this form out.

88
00:05:18,290 --> 00:05:24,830
So that is actually using our musician update with the specific one that is actually using our this

89
00:05:24,830 --> 00:05:30,890
add is OK, that means into the musician admonition here to have already get all that our feel that

90
00:05:31,160 --> 00:05:36,380
by default is actually getting that feel like if you give us an update and you can see for the update,

91
00:05:36,380 --> 00:05:38,330
I have defined the two Orefield.

92
00:05:38,780 --> 00:05:44,460
If you go to our view and the view I have defined as a first name and they instalment the for the reasons

93
00:05:44,490 --> 00:05:47,480
you can see, it's not showing as a first name and the instalment data.

94
00:05:47,750 --> 00:05:51,290
And also here is now showing as they add new musicians.

95
00:05:51,290 --> 00:05:54,050
As I told you, it's actually using our deep space.

96
00:05:54,050 --> 00:05:57,140
That means our ad knew that that musician pays.

97
00:05:57,140 --> 00:05:59,500
You considered a declared musician and that is our form.

98
00:05:59,900 --> 00:06:05,660
So now by default, actually, it is using our this form, you can see that the add new musician and

99
00:06:05,660 --> 00:06:07,310
then have define two of these feet.

100
00:06:07,310 --> 00:06:08,060
I want to update.

101
00:06:08,060 --> 00:06:11,120
So for the results it's not showing as a first name are the instalment.

102
00:06:11,480 --> 00:06:15,120
So it's not should be displayed like that with that means when.

103
00:06:15,220 --> 00:06:18,380
Way click as they update Danas automatically.

104
00:06:18,400 --> 00:06:21,060
Here is this text will be updated right here.

105
00:06:21,070 --> 00:06:26,980
I want to display a different text and when it will be as a admission page, then it's OK with me.

106
00:06:27,400 --> 00:06:32,130
So here, if you want to define this step up on the condition, then you can defining it.

107
00:06:32,140 --> 00:06:35,820
So you have to do have to defining it in our musician form.

108
00:06:35,830 --> 00:06:38,520
So when our musician form.

109
00:06:38,830 --> 00:06:40,860
So that is our admission from right.

110
00:06:41,270 --> 00:06:45,810
In particular that we had actually what this piece is now loaded for our object.

111
00:06:46,180 --> 00:06:48,580
So here I want to do to define the condition.

112
00:06:48,820 --> 00:06:50,740
So I just use pretty simple things.

113
00:06:50,740 --> 00:06:52,560
I just simply define the condition.

114
00:06:52,570 --> 00:06:59,160
And here I define the if condition, if our form, because with this form we actually get all the data.

115
00:06:59,170 --> 00:07:07,090
So we do this form I define as a stand, OK, in a stance into the instance when it should be any piqué,

116
00:07:07,090 --> 00:07:11,140
that means our primary key, then I want to do and display another text.

117
00:07:11,140 --> 00:07:13,640
So here I just simply define another text.

118
00:07:13,660 --> 00:07:19,250
Then it'll be displayed as an added musician object musician.

119
00:07:19,630 --> 00:07:22,210
OK, so now I want to do I want to define Alethia.

120
00:07:22,230 --> 00:07:24,250
Shall we display our disposition?

121
00:07:24,670 --> 00:07:26,620
So I just simply defined as El's.

122
00:07:27,370 --> 00:07:30,190
So here I define as El's.

123
00:07:32,590 --> 00:07:39,550
Or else it will be this hour that takes that decision to text, that means here after this I want to

124
00:07:39,550 --> 00:07:40,690
do and to end it.

125
00:07:40,690 --> 00:07:48,780
So I just simply and our DCF condition and I hope you can well understand about it.

126
00:07:48,790 --> 00:07:52,990
So here I define it because our same base is actually lauded for our two.

127
00:07:53,620 --> 00:07:56,090
So it's lauded for our ad data.

128
00:07:56,110 --> 00:08:02,410
That means that ad, the musician data and also the same form is loaded for our underpays where our

129
00:08:02,410 --> 00:08:02,950
object.

130
00:08:03,070 --> 00:08:03,370
Right.

131
00:08:03,640 --> 00:08:05,950
For the reasons here I have defined this condition.

132
00:08:05,950 --> 00:08:11,610
If you go to our Etoile and into the wall here, you can see there is our ad musician into the ad militia

133
00:08:11,620 --> 00:08:13,600
and they have no idea as a picture.

134
00:08:13,690 --> 00:08:18,640
But here in our musician update you are they have also of the idea as a piqué.

135
00:08:18,790 --> 00:08:19,100
Right?

136
00:08:19,330 --> 00:08:25,210
So far the results here I have defined when he get this picture ID, so far the results here, I'm defining

137
00:08:25,210 --> 00:08:26,450
it in this form.

138
00:08:26,450 --> 00:08:29,020
I have an API that means the primary key.

139
00:08:29,260 --> 00:08:35,020
Then it should be displayed as an added musician and else it shall be displayed as a musician.

140
00:08:35,140 --> 00:08:39,960
OK, so now I just simply defining that part and also I am this condition.

141
00:08:39,970 --> 00:08:43,770
Now if you click on this, save all I to save all.

142
00:08:43,840 --> 00:08:49,600
And now if you go here, if you refresh it now, because if for this you all that have no ID, that

143
00:08:49,600 --> 00:08:53,320
means that no primary for the results is not showing as they add new musician.

144
00:08:53,650 --> 00:08:59,860
But if you go to home, if you go to Gaza and look at the update now, you can see now they have also

145
00:08:59,860 --> 00:09:00,650
on the idea.

146
00:09:00,970 --> 00:09:03,780
So with this idea, I have defined some of the condition.

147
00:09:03,790 --> 00:09:08,280
When are you getting any idea then is to display another text as an object musician?

148
00:09:08,560 --> 00:09:13,780
So now you can see it's not showing as ablate musician and also it's getting our appropriate one in

149
00:09:13,780 --> 00:09:15,910
the ME and the instrument data.

150
00:09:16,390 --> 00:09:19,540
And also here, we don't need to add any code for this.

151
00:09:19,540 --> 00:09:21,790
It automatically will be updated like here.

152
00:09:21,790 --> 00:09:26,890
I want to update our first names for now and to remove that one and also from the guitar.

153
00:09:26,890 --> 00:09:27,790
I remove that one.

154
00:09:27,940 --> 00:09:32,590
Now, if we look at musician now you can see it's automatically updated.

155
00:09:32,800 --> 00:09:36,210
Our Kasie is updated and also that the guitar is updated.

156
00:09:36,220 --> 00:09:39,080
If you go to our home, that is our Abebe.

157
00:09:39,100 --> 00:09:50,030
So here I want to update as a B update every update and also in a statement I updated as a C, C updated

158
00:09:50,410 --> 00:09:51,870
click on the musician.

159
00:09:52,300 --> 00:09:56,770
Now you can see our first name is updated and also our instalment is updated.

160
00:09:57,590 --> 00:09:59,380
I hope you can well understand about it.

161
00:09:59,380 --> 00:10:04,120
And also, if you want to update your last name, then you have to do you have to add that another field,

162
00:10:04,570 --> 00:10:09,430
because of all in our view area, I have only defined the to feel right now I going to take another

163
00:10:09,430 --> 00:10:09,670
one.

164
00:10:10,090 --> 00:10:12,580
I just take another one as a last name.

165
00:10:12,590 --> 00:10:13,930
That is our last name field.

166
00:10:14,410 --> 00:10:18,040
OK, the last and the last name and the last name.

167
00:10:18,040 --> 00:10:19,200
I also defined this.

168
00:10:19,360 --> 00:10:23,470
So now we can actually update our first name, last name and the installment.

169
00:10:24,160 --> 00:10:31,360
Now I just click, as I say, will now go here, go to home like there is a Kazarian.

170
00:10:31,360 --> 00:10:34,750
You consider it a clear Kasie and our last name and then our instrument.

171
00:10:35,020 --> 00:10:36,340
So no one to update it.

172
00:10:36,490 --> 00:10:39,280
Now we can see that the field is added as a last name.

173
00:10:39,280 --> 00:10:41,230
So I want to update our last name now.

174
00:10:41,830 --> 00:10:42,850
Sound updated.

175
00:10:42,850 --> 00:10:44,680
Click on the ADD musician.

176
00:10:44,710 --> 00:10:46,450
You can see it's not perfectly now.

177
00:10:46,450 --> 00:10:49,570
Updated, I hope is very much clear to your friend.

178
00:10:49,580 --> 00:10:55,830
So with this hourglass, that means our added value class, we can actually update it and also to have

179
00:10:55,930 --> 00:10:57,200
another one for the deluxe.

180
00:10:57,210 --> 00:10:59,890
So if you want to direct this data, how can they elected?

181
00:10:59,890 --> 00:11:03,010
In our next video, I will show that things with the live example.

182
00:11:03,430 --> 00:11:06,640
So thanks for watching and I will see you in the next video.
