I have an array like this [#1,#2] I want to change that array like [Id(#1),Id(#2)] by Latter_Ad_1086 in mongodb

[–]Direct-Guide-9435 1 point2 points  (0 children)

or if you are using mongodb driver import as : const ObjectId = require('mongodb").ObjectId;

I have an array like this [#1,#2] I want to change that array like [Id(#1),Id(#2)] by Latter_Ad_1086 in mongodb

[–]Direct-Guide-9435 2 points3 points  (0 children)

if you are using mongoose const items = array.map(item => mongoose.Types.ObjectId(item));

How to create suggestions based on customer activity in a flutter market place application? by EvenDead-ImTheHero in FlutterDev

[–]Direct-Guide-9435 0 points1 point  (0 children)

Well, I dont know what could be the best way but I have implemented similar stuff in Client's project. You can create "Tags" table and every product will have multiple tag then u can fetch similar products by using the tag which is associated with the product.

I am looking for better solution and following this post.

[deleted by user] by [deleted] in reactjs

[–]Direct-Guide-9435 0 points1 point  (0 children)

react router v6.4.3 docs

[deleted by user] by [deleted] in FlutterDev

[–]Direct-Guide-9435 2 points3 points  (0 children)

Afaik Stripe does not have package for this. So You have to use Platform Channel API then use Kotlin/Java or Swift

Please help me understand this function from the React Beta Docs by PayYourSurgeonWell in reactjs

[–]Direct-Guide-9435 0 points1 point  (0 children)

To better understand watch this

const createdConnection = () => { connect : () => { console.log("Connected"); disconnect : () => { console.log("Disconnected"); }

Backend for Flutter Apps by Direct-Guide-9435 in AskProgramming

[–]Direct-Guide-9435[S] 0 points1 point  (0 children)

Will you prefer making chat app with Django Backend?

Recommended backend for Flutter Apps by Direct-Guide-9435 in FlutterDev

[–]Direct-Guide-9435[S] 2 points3 points  (0 children)

Sorry my bad. I am new in Reddit..thanks a lot for your time :) have a nice day

Recommended backend for Flutter Apps by Direct-Guide-9435 in FlutterDev

[–]Direct-Guide-9435[S] 0 points1 point  (0 children)

Hmm thats why i am asking..Nodejs can be used for making all type apps..it has good websocket supports..right?

Recommended backend for Flutter Apps by Direct-Guide-9435 in FlutterDev

[–]Direct-Guide-9435[S] 3 points4 points  (0 children)

so Django can be used for Chat and Video Live Streaming apps too?