import 'package:flutter/material.dart' ; import 'package:get/get.dart' ; import 'package:luminary_fashion_customer_app/utils/constants/colors.dart' ; import '../controllers/booking_controller.dart' ; class BookingView extends…
Anku
Continue Reading
function data(){ return 'Hi Ankit'; return 'Hello Murli' // not a executable code. } var observable = Rx.Observable.create((observer: any) =>{ observer.next('Hi Ankit'); observer.next( 'Hello Murli'); }) obser…
Anku
Continue Reading
db.getCollection ( "orderhistories" ) .aggregate ([ { $match :{ orderId : 9335 }}, { $project :{ "workshop" :{ "addOnService" :{ "serviceId" : 1 , "product" : 1 …
Anku
Continue Reading
GROUP BY & SELECT PARTICULAR FIELDS - MONGO db.getCollection("fake_gps_user_records").aggregate([ {$group:{_id:"$userId",userName:{$first:"$userName"}}}, ])
Haritha
Continue Reading
db . getCollection ( "orderhistories" ). aggregate ( [ { $match : { $and : [{ orderId : 9291 },] } }, { $project : { workshop : { vechil…
Anku
Continue Reading
const problems = await this.orderHistoryModel.find({ orderId }, { 'id': 1, 'family.children.toys': 1, '_id': 0 })
Anku
Continue Reading
// // The key length is dependent on the algorithm. // // In this case for aes256, it is 32 bytes. const textToEncrypt = '1008' ; const iv = randomBytes ( 16 ); const password = 'Password used to generate key' ; //…
Anku
Continue Reading