jeudi 26 mai 2016

Nesting inserting query using laravel 5 and mongodb

I am using Laravel 5.2 and mongoDB. So i want to use nesting query of insert in laravel 5. For example

    { 
        "_id" : ObjectId("573578591f23121370642bce"), 
        "title" : "Sensor Details", 
        "formtype" : "sensor", 
        "formfields" : [
            {
                "sequence" : NumberInt(5), 
                "lable" : "Sensor Type", 
                "type" : "text", 
                "name" : "sensor_type", 
                "class" : "form-control", 
                "id" : "sensor_type", 
                "validation" : "required ", 
                "placeholder" : "Enter sensor type"
            },
{
                "sequence" : NumberInt(5), 
                "lable" : "Sensor Type", 
                "type" : "text", 
                "name" : "sensor_type", 
                "class" : "form-control", 
                "id" : "sensor_type", 
                "validation" : "required ", 
                "placeholder" : "Enter sensor type"
            },
    }

I am trying to find solutions but failed get any solutios please help me...



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1TGg19H
via IFTTT

Aucun commentaire:

Enregistrer un commentaire