Instructions for using mysql to support native json
text
MySQL started to support json natively in 5.7.8. This article will give a brief description of the usage of json types in mysql, hoping to be useful to you.
CREATE TABLE testproject (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`skill` JSON NOT NULL,
`student` JSON NOT NULL,
PRIMARY KEY (`id`)
);
View table structure:
...
Posted by scooterlibby on Tue, 22 Oct 2019 13:35:55 -0700
Wechat sharing in vue hash mode for parameter transfer
background
In the hash mode of vue project, wechat sharing is needed. Support to pass multi parameter, no parameter, specify jump page, configurable
Implementation ideas
Due to the existence of hash mode symbol, there will be compatibility problems in different platforms. The shared page cannot jump to the specified page. So the idea is to s ...
Posted by jimbo_head on Tue, 22 Oct 2019 10:23:30 -0700
09- webpack load data file json, xml, csv
I. loading json file
Built in support for JSON parsing, that is, import Data from './data.json' will run normally by default.
1.1 add json file
demo09
|- package.json
|- webpack.config.js
|- /dist
|- bundle.js
|- index.html
|- /src
|- Hua Wencaiyun.ttf
|- icon.png
|- st ...
Posted by sweetstuff2003 on Tue, 22 Oct 2019 08:06:01 -0700
[blame upgrade] applet custom head navigation bar "perfect" solution
Why do you do this?
Mainly in the project, some problems found by zhikujun
Some pages are accessed by scanning codes and subscribing to messages. There is no direct way to click to go to the home page. You need to add a home link.
Need to add custom search feature
Some function buttons need to be customized
In fact, the first problem has be ...
Posted by ErcFrtz on Tue, 22 Oct 2019 01:09:19 -0700
[JS pocket book] Chapter 8: this in JS from a more detailed perspective
By valentinogagliardiTranslator: front-end witSource: github
Alibaba cloud has been doing activities recently, with a discount of 20%. If you are interested, please take a look at:https://promotion.aliyun.com/...
In order to ensure readability, this paper adopts free translation instead of literal translation.
Uncover "this"
This ...
Posted by BahBah on Mon, 21 Oct 2019 17:10:31 -0700
80 distributed e-commerce project - SMS micro service
Now we need to build a general SMS sending service (independent of the separate project of pinyougou). The message (MAP type) received by activeMQ includes mobile number, template code, sign name and param.
code implementation
(1) create project pyg SMS (JAR project), and introduce dependency into POM ...
Posted by zhahaman2001 on Mon, 21 Oct 2019 14:37:56 -0700
webpack advanced -- 02 -- multi page application configuration
Project file structure:
├─build
├ ├─webpack.base.js
├ ├─webpack.dev.js
├ └─webapck.prod.js
├─package.json
├
├─src
└─views
├─admin
├ ├─index.js
├ └─index.html
└─client
├─index.js
└─index.html
entry configur ...
Posted by mr666 on Mon, 21 Oct 2019 13:31:30 -0700
Java microservices: load balancing, serialization, fusing
This article follows the previous one< Java microservices (2): service consumer and provider building >The last article mainly talks about the construction and simple realization of consumers and service providers. The focus is on several pits in the configuration file.
This chapter introduces some scattered contents: load balancing, ser ...
Posted by rofl90 on Mon, 21 Oct 2019 13:17:35 -0700
Play Lin UI to make small program: make a brief history of time with step bar component
Design sketch:
Introduction:
Considering the size limit of the applet, I introduce it on demand. The operation is as follows:
Download the Lin UI source code directly through git, and copy the dist directory (Lin UI component library) to your project.
git clone https://github.com/TaleLin/lin ...
Posted by sareejoh on Mon, 21 Oct 2019 12:41:41 -0700
Powerful JSON.STRINGIFY optional parameters
A very interesting question is brewing in my mind. I'll share it with you so that you can refer to it when you have problems. Let's see what's interesting about JSON.stringify().
const dude = {
name: "Pawel",
friends: ["Dan", "Pedro", "Mr Gregory"]
};
const dudeStringified = JSON.stringify(dude);
console.log(dudeStringified);
// {"name":"P ...
Posted by roby2411 on Mon, 21 Oct 2019 07:36:24 -0700