Комментарии:
How to order based on latest to oldest?? Any method for that??
ОтветитьFor those viewers with limited experience in programming and want to know why the capitalisation comes before lower case, it is all to do with the ASCII table.
In which each character is defined as 1 byte of data, accounting for 128 (0 though to 127) standard and 255 (128 though to 255) when the extended ascii is included.
The letter A as an upper case is represented as 065 (Binary: 01000001) whilst lower case is 097 (Binary: 01100001)
As you can tell from the binary, these numbers are not randomly choosen, they were done to
Since 65 comes before 97, then all upper case letters will be processed first followed by lower cases second.
A byte's maximum value is 2 to the power of 8 which is 256
The solution would be to pre-process the data
Ie, if you 100% know that the data for that cell or field, is going to be a noun, then you would simply write a function that converts the string into a format that represents a noun, this being a book title would contain a capital letter for the first letter, followed by a capilisation per character after each space character
You would then return this value and store it in the NoSQL
thanks ninja very helpful
Ответитьyour are the best man
ОтветитьI liked your accent more than the lesson. Can you make videos about English tutorials?
ОтветитьAre not you and Web Dev Simplified grand-children of Feynman? Coz both of you are GREAT EXPLAINERS!
ОтветитьHello everyone, I need to sort the data stored in a collection by the frequency of occurrence of words used in that collection. Is that possible in firebase? Any ideas how to do that?
ОтветитьYour video are so interesting and so celar, I love you
ОтветитьHi, I'm using a dropdown menu to select the field you want to order your data by. But actually it doesn't work, even if I do have an index for each option. Im saving the field value in a variable, which I put into the OrderBy statement. My question is, how I can dynamically reload the data, ordered by the value of my variable? :)
ОтветитьThese tutorials actually work and are the best ones to use for the HTML CSS and Javascript Techstack. There isn't a good firebase course on the site Udemy yet for this you should create a masterclass on there. You could make a little money on the side too for those who want to enroll in it. But It's amazing you're posting them on here for everyone bravo man, you saved me from my confusion and I understand firebase a lot more now.
Ответитьthx sir, you save my life
ОтветитьCan i use 2 order by statements in on one collection like this:
.orderBy("timeStamp", "desc").orderBy("votes", "Asc")
I believe the way Firebase sorts data is by using the ASCII values of the characters. That's why the words with capital letters came first. ASCII of A-Z = 65-90 and a-z = 97-122.
Ответитьthat was great help..many thanks
ОтветитьThanks bro for the video it solved my problem, Your videos are always very very helpful.....
Ответитьnice!!! thanks
ОтветитьHow to do this with a date instead?
ОтветитьYour tutorials are just so easy to follow and you explain everything it's very pleasant thanks!
ОтветитьLove your videos!, anyone here know how to export Firebase collection or document data to JSON and use a npm package like vue to json-excel for a reporting feature? Maybe adding a Video Tut to this effect on this series? Keep up the great tutorials Shaun!
ОтветитьYou forgot to mention order by and >=, it's a very specific and important case
ОтветитьThank you!
ОтветитьBro firebase database descending order data query
ОтветитьHow can one make the sort case-insensitive? As humans are stupid and cannot be trusted to enter their data in the right case.
ОтветитьThanks!! It's perfect Tutorial!!
And I have a question! How to list in the order of time?
how can we order by timestamp
ОтветитьI could listen to you all day!
ОтветитьHello my Friend ;) I'm from Brazil, and i would like to thanks for all your vídeos, they are amazing. Ninja, i'm following this example of mario plan, and i'm trying to get ordered data for display at dashboard. I'm trying like this: { collection: "projects", orderBy: [['name', 'asc']] } but, it does not work, do you have some trick for this? Thanks a lot! <3
ОтветитьThis looks pretty cool! Thank you for making this tutorial Shaun!
Ответитьawesome lecture thank u sir....
ОтветитьAt last, you're using vs code, hahaha
You're a very cool teacher Shaun, I really love you <3
Been waiting for this like the next release of god of war
ОтветитьInsta liked
Ответить