【文件属性】:
文件名称:grunt-mssql:对 Microsoft Sql Server 执行查询的繁琐包装
文件大小:5KB
文件格式:ZIP
更新时间:2021-07-05 01:42:39
JavaScript
grunt-mssql
对 Microsoft Sql Server 执行查询的繁琐包装。 这并不意味着在生产环境中使用,而是更多地用于 E2E 测试,其中需要拍摄数据库快照并恢复快照。
安装插件后,可以使用以下 JavaScript 代码在 Gruntfile 中启用它:
grunt . loadNpmTasks ( 'grunt-mssql' ) ;
“mssql”任务
概述
在项目的 Gruntfile 中,将名为mssql的部分添加到传递给grunt.initConfig()的数据对象中。
grunt . initConfig ( {
mssql : {
options : {
server : '' ,
userName : '' ,
password : ''
} ,
restore : {
【文件预览】:
grunt-mssql-master
----LICENSE-MIT(1KB)
----.jshintrc(191B)
----Gruntfile.js(1KB)
----tasks()
--------mssql.js(1KB)
----test()
--------mssql_test.js(772B)
----README.md(1KB)
----.gitignore(31B)
----package.json(1KB)