Mastering Parse Live Query

  Рет қаралды 2,265

Back4app

Back4app

Күн бұрын

Пікірлер: 5
@ferrerejarod
@ferrerejarod 3 жыл бұрын
Back4app, the best . Getting all my server there , and not going to swap anytime soon. Best support, best community .
@catalunham.j.1895
@catalunham.j.1895 2 жыл бұрын
Create the birthDate field and test this query: query.exists('birthDate'); See open and do leave and enter for the birthDate field. See that the type of birthDate changes in liveQuery from Date to String. And this can break some apps.
@Back4App
@Back4App 2 жыл бұрын
Hey Catalunha, M.J.! Thank you for the comment! You gotta remember that when sending data in the JSON format, the Dates are encoded as string objects, such as "createdAt":"2022-05-13T16:14:14.819Z". That said, those dates are correctly formatted Date() objects so you can cast to Date() whenever needed. This is due to the characteristics of the JSON format and not an issue at all. ;)
@thomasmabika7291
@thomasmabika7291 3 жыл бұрын
is there any method that combines onCreate and onUpdate? I want to refresh the UI either when something is created or updated.
@Back4App
@Back4App 3 жыл бұрын
Unfortunately those are two distinct events so you would have to subscribe to both and have a function called in each.
Creative Justice at the Checkout: Bananas and Eggs Showdown #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 19 МЛН
How To Choose Mac N Cheese Date Night.. 🧀
00:58
Jojo Sim
Рет қаралды 102 МЛН
Как Я Брата ОБМАНУЛ (смешное видео, прикол, юмор, поржать)
00:59
Creative Justice at the Checkout: Bananas and Eggs Showdown #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 19 МЛН