February 2023

MongoDB – aggregate query

document https://www.mongodb.com/docs/manual/aggregation/ Operators for aggregation queries https://www.mongodb.com/docs/manual/reference/operator/aggregation/ Classification of Aggregate Query Operators arithmetic expression operator array expression operator boolean expression operator comparison expression operator conditional expression operator … Common Mongo aggregation operations are compared with mysql queries SQL Aggregate where $match group by $group having $match select $project order by $project limit $limit sum() $sum […]

MongoDB – aggregate query Read More »

Designing web forms with a SPA Single Page Application should take password manager requirements into consideration

Since my company uses Yushan Commercial Bank to handle accounts, I often need to log in Yushan Global Zhihui to review and release some manufacturers’ funds. I have always used a password manager to ensure that each of my websites uses The passwords are all different to strengthen information security. However, after I have used

Designing web forms with a SPA Single Page Application should take password manager requirements into consideration Read More »

MikroORM and MongoDB

Use aggregation query Use EntityRepository from the @mikro-orm/mongodb package instead of the @mikro-orm/core package. // import { EntityRepository } from ‘@mikro-orm/core’; import { EntityRepository } from ‘@mikro-orm/mongodb’ ; class User { constructor ( @InjectRepository (User) private readonly userRepository: EntityRepository<User>, ) {} @Get () find ( ) { return this . userRepository . aggregate ([]); }}

MikroORM and MongoDB Read More »

Small skin panel (phpStudy)

9000 port occupation problem Open the resource monitor , find the process name: xp.cn_cgi.exe , and you will see the occupied port. If you have 4 versions of PHP installed on your machine, then there will be 4 corresponding xp.cn_cgi.exe processes and Occupies 4 ports: increase from 9000. Executing netstat -ano | findstr 9000 will

Small skin panel (phpStudy) Read More »

Puppeteer – use of Docker version

Puppeteer’s official documentation on Docker https://pptr.dev/guides/docker Push the official Puppeteer Docker image to Alibaba Cloud There is no official image maintained by Puppeteer on hub.docker.com, because the official image is hosted on Github. So we need to pull down the image, and then push it to the mirror service in the country to increase the

Puppeteer – use of Docker version Read More »

Puppeteer

document https://pptr.dev/ Common Error Handling UnhandledPromiseRejectionWarning: Error: net::ERR_CONNECTION_TIMED_OUT (node:40940) UnhandledPromiseRejectionWarning: Error: net::ERR_CONNECTION_TIMED_OUT at https://developer.chrome.com/ Network problem, make sure the target address can be accessed. This article is transferred from https://www.wujingquan.com/posts/cab35e09.html This site is only for collection, and the copyright belongs to the original author.

Puppeteer Read More »

Nuxt 3

Nuxt3 + vant https://vant-contrib.gitee.io/vant/#/zh-CN/quickstart#zai-kuang-jia-zhong-shi-yong https://github.com/vant-ui/vant-demo/tree/master/vant/nuxt3 This article is transferred from https://www.wujingquan.com/posts/6285a84b.html This site is only for collection, and the copyright belongs to the original author.

Nuxt 3 Read More »