Тёмный
procademy
procademy
procademy
Подписаться
I strongly believe that the best way to gain knowledge is by "sharing knowledge" and the best gift you can give is the "Gift of education". My goal is to create online and free quality software courses for everyone. These courses are complete courses just like you expect it from any other eLearning website, but these courses are absolutely free.

We want to help those students who have the potential but cannot afford expensive software training. Money should not be a barrier for anyone to learn.
Комментарии
@mattakalyan1427
@mattakalyan1427 11 часов назад
exports.getMovies = async (request, response) => { try{ let queryStr = {...request.query}; if("sort" in request.query){ delete queryStr['sort']; } if("fields" in request.query){ delete queryStr['fields']; } if("page" in request.query){ delete queryStr['page']; delete queryStr['limit']; } queryStr = JSON.stringify(queryStr) queryStr = queryStr.replace(/\b(gte|gt|lte|lt)\b/g, (match) => `$${match}`); const queryObj = JSON.parse(queryStr); //console.log(queyObj); let query = Movie.find(queryObj); //let movies = await Movie.find().where('duration').equals(request.query.duration).where('ratings').equals(request.query.ratings); //console.log("This is the query movies ",movies); //Advanced filtering if(request.query.sort){ const sortBy = request.query.sort.split(',').join(" "); query = query.sort(sortBy); }else{ query = query.sort('-createdAt'); } //include and exculde fields if(request.query.fields){ const fields = request.query.fields.split(',').join(" "); //console.log("The fields string is ", fields); query = query.select(fields) }else{ query = query.select('-__v'); } //Pagination const page = +request.query.page || 1; const limit = +request.query.limit || 10; const skip = (page - 1) * limit; query = query.skip(skip).limit(limit); const movies = await query; response.status(200).json({ status: "sucess", length: movies.length, data: { movies } }) }catch(err){ response.status(404).json({ status: "fail", message: err.message, }) } }; try to use this code for if aybody facing empty array problem
@vitaliiprokopenko8822
@vitaliiprokopenko8822 19 часов назад
The video provides a very clear explanation of the topic. One of the best on the topic! Thank you very much!
@huyhieunguyen1995
@huyhieunguyen1995 21 час назад
00:02 Function types allow assigning specific types of functions to variables in TypeScript. 01:06 Function type for callback explained 02:04 Functions with multiple parameters and a default 'any' type parameter. 03:02 Creating a function to print a message and result 03:59 Assigning a callback function to a parameter in TypeScript. 04:59 Functions as callback should not return any value 05:49 Passing a callback function in TypeScript with specific parameter types and return type 06:56 Understanding function type for callback in TypeScript.
@navneetverma4593
@navneetverma4593 День назад
Please upload vidoe on Rxjs
@navneetverma4593
@navneetverma4593 День назад
Please upload video on Rxjs
@navneetverma4593
@navneetverma4593 День назад
Please upload video on Rxjs
@muhammadnaveed7953
@muhammadnaveed7953 День назад
Thank you Sir g❤
@rahulkumar-yk2ru
@rahulkumar-yk2ru День назад
Nice lecture
@vinodhkumar164
@vinodhkumar164 День назад
very easy to understand, thanks
@hassannouri9796
@hassannouri9796 День назад
❤❤❤
@AnimeBoyYT
@AnimeBoyYT День назад
10:30 array.join(",") joines the array items with comma, does not remove them, just use array.join("") to join items without any separator.
@navneetverma4593
@navneetverma4593 День назад
Please make a video on RxJs
@pirobanda9150
@pirobanda9150 2 дня назад
these lectures are really helpful sir,thank you!!
@Tech_bro-i5g
@Tech_bro-i5g 2 дня назад
Please sir! if you can help. People are encountering a common issue with the sort and limit logics, i inclusive. The both of them are returning null, empty array, when we run it in postman.
@habibbenmammar2203
@habibbenmammar2203 2 дня назад
Great explanation as usual
@muhammadnaveed7953
@muhammadnaveed7953 2 дня назад
Thank you Sir ❤
@YusupOzdoyev
@YusupOzdoyev 2 дня назад
The observed transmits data, and the subject accepts this data and distributes it to observers. Did I understand correctly? Наблюдаемое транслирует данные, а субъект принимает эти данные и раздает наблюдателям. Я правильно понял ?
@sanjeevchopra2381
@sanjeevchopra2381 2 дня назад
please make videos on nextjs
@unanimous8510
@unanimous8510 2 дня назад
Nice!
@aabhishakemishra
@aabhishakemishra 2 дня назад
Deep understanding
@chandanbarnwal192
@chandanbarnwal192 2 дня назад
As someone who loves exploring in-depth concepts, I’m thrilled to find content like this. Your clear explanations and well-structured approach make complex topics accessible. Keep up the fantastic work! 🙌 Looking forward to more mind-expanding videos! 🎥💡 Cheers from a fellow knowledge enthusiast! 🌟
@girishpinasimham3326
@girishpinasimham3326 2 дня назад
Thanks Sir, We need Rxjs complete series.. ;)
@jarryd9422
@jarryd9422 3 дня назад
Thank you for creating these lectures.
@shakeelilyas7952
@shakeelilyas7952 3 дня назад
Such a excellent video to easily understand difference between "var" and "let" and "const". Thanks Sir for sharing your knowledge with us.
@shakeelilyas7952
@shakeelilyas7952 3 дня назад
Very Important Video For JavaScript Developers.
@ayushisingh6638
@ayushisingh6638 3 дня назад
how do we know when to use ViewChild to pass data from child to parent and when to use the old way using @output ? and when to use template refernece or ViewChild
@muhammadnaveed7953
@muhammadnaveed7953 3 дня назад
Thank you Sir g
@jarryd9422
@jarryd9422 3 дня назад
@varunreddy8561
@varunreddy8561 3 дня назад
Hello Sir, can you please make javascript DOM playlist visible 😢please don’t remove it 🙏
@truthteachers
@truthteachers 3 дня назад
Hi bro, a good odd thing happen to me while doing the chapters on classes. I m also a PHP developer and had a tough time understanding the concept such as Singleton in PHP. With your course i am getting a very good understanding of the fundamentals in a simple way. Thank you bro.
@hassannouri9796
@hassannouri9796 3 дня назад
❤❤❤
@midunc5317
@midunc5317 3 дня назад
Why morgan is called after our logger middleware? according to our order morgan should print first to console and then logger but in the video logger is printing earlier than morgan.
@mohamedibrahemsaad573
@mohamedibrahemsaad573 4 дня назад
please complete the angular course covering the new features
@muthulakshmim5832
@muthulakshmim5832 4 дня назад
Can you make videos for microfromtends?
@YusupOzdoyev
@YusupOzdoyev 4 дня назад
.disable-out-of-stock-product{ background-color: #28282B; opacity: 0.5; }
@muhammadnaveed7953
@muhammadnaveed7953 4 дня назад
Thank you Sir ❤
@sahilvaidya4958
@sahilvaidya4958 4 дня назад
Sir please make Promises and async await video
@abdallahhaidary7987
@abdallahhaidary7987 4 дня назад
you're the best man. New subscriber here!!
@dsinghtanwar19
@dsinghtanwar19 4 дня назад
your teachings heal. Thanks 🙏
@shakeelilyas7952
@shakeelilyas7952 4 дня назад
Everyone tell what is an array how to store value in it, how to access value, how to change its value etc. But the thing that i only learn from you is the *new Array()* syntax bug. You provide very detailed knowledge Sir. Thank you so so soooo much. 💟💟💟
@hassannouri9796
@hassannouri9796 4 дня назад
❤❤❤
@swamythouta7733
@swamythouta7733 4 дня назад
I've come across an outstanding Angular tutorial that I believe is the best resource available. Could you please share the complete code for the tutorial, including the eKart project? This would greatly help us practice and enhance our skills. Thank you!
@swamythouta7733
@swamythouta7733 4 дня назад
I've come across an outstanding Angular tutorial that I believe is the best resource available. Could you please share the complete code for the tutorial, including the eKart project? This would greatly help us practice and enhance our skills. Thank you!
@SwamyThouta
@SwamyThouta 4 дня назад
I've come across an outstanding Angular tutorial that I believe is the best resource available. Could you please share the complete code for the tutorial, including the eKart project? This would greatly help us practice and enhance our skills. Thank you!
@SwamyThouta
@SwamyThouta 4 дня назад
I've come across an outstanding Angular tutorial that I believe is the best resource available. Could you please share the complete code for the tutorial, including the eKart project? This would greatly help us practice and enhance our skills. Thank you!
@andy0401ify
@andy0401ify 4 дня назад
Is it possible to update the github repo for this project? Currently it seems not all the code on the repo. Thank you so much!!!
@SwamyThouta
@SwamyThouta 4 дня назад
I've come across an outstanding Angular tutorial that I believe is the best resource available. Could you please share the complete code for the tutorial, including the eKart project? This would greatly help us practice and enhance our skills. Thank you!
@SwamyThouta
@SwamyThouta 4 дня назад
I've come across an outstanding Angular tutorial that I believe is the best resource available. Could you please share the complete code for the tutorial, including the eKart project? This would greatly help us practice and enhance our skills. Thank you!
@SwamyThouta
@SwamyThouta 4 дня назад
I've come across an outstanding Angular tutorial that I believe is the best resource available. Could you please share the complete code for the tutorial, including the eKart project? This would greatly help us practice and enhance our skills. Thank you!
@SwamyThouta
@SwamyThouta 4 дня назад
I've come across an outstanding Angular tutorial that I believe is the best resource available. Could you please share the complete code for the tutorial, including the eKart project? This would greatly help us practice and enhance our skills. Thank you!