pg-anonymizer:使用NodeJS CLI转储匿名的PostgreSQL数据库

时间:2021-02-05 17:19:52
【文件属性】:
文件名称:pg-anonymizer:使用NodeJS CLI转储匿名的PostgreSQL数据库
文件大小:45KB
文件格式:ZIP
更新时间:2021-02-05 17:19:52
nodejs javascript database postgresql anonymization pg匿名器 匿名导出您的PostgreSQL数据库。 多亏了faker替换了所有敏感数据。 输出到一个可以使用psql轻松导入的文件。 用法 通过提供连接字符串和输出文件名运行此命令(由于npx无需首先安装): npx pg-anonymizer postgres://user:secret@localhost:1234/mydb -o dump.sql :index_pointing_up: 此命令需要pg_dump 。 安装PostgreSQL后可能已经安装了它。 指定要匿名的列列表 使用--list选项和以逗号分隔的列名列表: npx pg-anonymizer postgres://localhost/mydb
【文件预览】:
pg-anonymizer-main
----.eslintrc(59B)
----yarn.lock(91KB)
----src()
--------index.ts(5KB)
----tsconfig.json(230B)
----LICENSE(1KB)
----README.md(3KB)
----.editorconfig(171B)
----.gitignore(96B)
----bin()
--------run(306B)
--------run.cmd(31B)
----.eslintignore(5B)
----package.json(1KB)

网友评论