MongoDB(1) Install, Start and Connect to shell
MongoDB Installation and Startup
1. Installation
1.1 windows Edition
click https://www.mongodb.com/download-center?jmp=nav#community
Download the msi file on the mongodb official website. Double-click to run it. There is nothing to explain.
1.2 Linux Edition
curl -O https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.4.3.tgz # ...
Posted by latinofever on Wed, 26 Jun 2019 11:58:44 -0700
Scrapy Tutorial--A List of Top 3000 Articles in Blog Garden
I. Top 3000 Personnel List Pages
1) Go to the home page and find the blog Park score list. Here's the picture: Then we found the blog addresses of the top 3,000 gods. Through the analysis of word cloud, many Dashen's blogs have migrated to personal blogs.
2) Analyse the page structure: every td is a person.
The first small is ranked
The s ...
Posted by Notoriouswow on Sat, 22 Jun 2019 15:50:40 -0700
How to Control Concurrency by Redis Distributed Lock
Interpretation of redis command
Say Redis Distributed locks are implemented by combining setNx commands with getset. Before we talk about them, let's first understand the meaning of setNx and getset. redis The official website explains this. Note: redis commands are atomic operations
SETNX key value
Set the value of the key to value if and ...
Posted by oldschool on Sat, 22 Jun 2019 14:37:48 -0700
Docker Fixed IP Settings
Docker is often used to simulate the deployment of a project in a production environment. It often requires several Docker containers to be opened at the same time. Sometimes the installed software needs to bind to other containers in the Docker LAN, such as the intranet IP of other containers when deploying the MongoDB replica set.
However, ev ...
Posted by sellfisch on Fri, 14 Jun 2019 18:31:00 -0700
Introduction to Mongoose Foundation
Previous remarks
Mongoose is an object model tool that can operate mongodb conveniently under node.js asynchronous environment. This article describes in detail how to use Mongoose to operate MongoDB
NodeJS Driver
Before introducing Mongoose, I first introduce how to operate MongoDB using NodeJS
If you use a program to operate a database ...
Posted by batfastad on Tue, 11 Jun 2019 15:19:01 -0700
Implementing Principle of SQL ON MongoDB
(iv) Focus on Wechat Public Number: [Taro Back-end Cabin] Welfare:
RocketMQ/MyCAT/Sharing-JDBC All Source Analysis Articles List
RocketMQ/MyCAT/Sharing-JDBC Chinese Annotation Source GitHub Address
Every message you leave about the source code will be answered carefully. Even if you don't know how to read the source code, you can ask.
New so ...
Posted by MrAlaska on Tue, 11 Jun 2019 12:25:20 -0700
Basic use of mongoose
There is nothing more necessary than to go through the official documents before we begin: http://mongoosejs.com/
What is mongoose? What's the use?mongoose is an object model library for manipulating MongoDB; it encapsulates the common methods of document manipulation (add, delete and check) in MongoDB, which makes NodeJS operate Mongodb databa ...
Posted by s.prema@yahoo.com on Sun, 09 Jun 2019 12:57:29 -0700
Talking about Variables and Data Types in JavaScript
First, we need to understand that JS is a weakly typed and dynamically typed language.
Weak type means that you can make some implicit transformations, such as []= 0 is true, but strong type is not.
Dynamic typing is to detect typing only when the code is running, such as a = 3; a.push(3); the result is runtime error, while static typing is ...
Posted by unistake on Fri, 07 Jun 2019 15:30:22 -0700
Integrated use of MongoDB in Spring project
The maven project is used here, so dependencies on jar packages are all pom.xml configuration types.
pom.xml introduces dependencies
<properties>
<spring.version>4.3.5.RELEASE</spring.version>
</properties>
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spr ...
Posted by cubik on Thu, 06 Jun 2019 11:26:33 -0700
Ruby Operations MongoDB (Advanced Seven) - Collations
This post explains Collations in three ways.This includes an overview, how to use it, and operations that support sorting.Let's start with an overview of sorting rulesOverview of Collation Sorting rules provide a set of rules for string comparison in specific language habits. For example, in Canadian French, the last syllable of a g ...
Posted by RadiationHazard on Wed, 05 Jun 2019 10:49:56 -0700