2018-01-01から1ヶ月間の記事一覧
// updated: 2018/1/17 public function up() { Schema::connection('mongodb')->create('group_messages', function (Blueprint $collection) { $collection->increments('id'); $collection->timestamps(); $collection->string('body');〇 $collection->u…
// updated: 2018/10/2 以下 mongo shell 上で > db // show databases > use DB_NAME // change current database > db.testMongo.insertOne( { body: "test mongo operation", id: 1 } ) // create testMongo collection and insert a document > show col…