-
Node.js Drizzle PostgreSQL bigint 类型
bigint() bigint({mode: "bigint"}),传入mode属性,指定bigint或number import { bigint, pgTable, timestamp } fr
-
Node.js Drizzle orderBy 升序、降序、联合排序
orderBy() 使用typeof、$inferSelect提取表结构的类型。 升序 orderBy(columnName)等价于orderBy(asc(columnName)) const po
-
Node.js Drizzle 查询表结构返回的类型
$inferSelect 使用typeof、$inferSelect提取表结构的类型。 const posts = pgTable("post", { id: integer().prima
-
Vite 中编辑 vite.conf.ts process 报错
process 报错 原因:没有安装@types/node类型提示。 npm install @types/node -D 参考文档 https://vite.dev/config/
-
Node.js 模块
模块分类 内置模块 fs path http 自定义模块 创建的每个js都是自定义模块。 第三方模块 非官方提供的模块,由第三方提供并维护,需下载使用. 又
2022-12-20, Views: 1375 , Topics: Node.js
-
package.json 中的依赖包版本号
major.minor.patch major:主版本 minor:次版本 patch:补丁版本 特殊符号 ~^>=<+* ~version 主版本
2022-12-17, Views: 1645 , Topics: JavaScript Node.js
-
配置 Angular 10 运行环境
前置条件 Python2.7 Visual Studio Community 2017 设置node-gyp:npm config set msvs_vers
-
PowerShell 无法执行 node-gyp 命令
错误信息 node-gyp : 无法加载文件 C:\Users\fendoudebb\AppData\Roaming\npm\node-gyp.ps1,因为在此
2021-06-19, Views: 4947 , Topics: Node.js PowerShell