与muffin框架的peewee集成
muffin-peewee-async的Python项目详细描述
松饼皮异步_描述:
muffin peewee async—使用peewee async与muffin框架进行peewee集成。
muffin peewee async
用法
=
将“muffin peewee async”添加到muffin应用程序配置中的“插件”中。
或手动安装,如下所示::
app=muffin.application('test')
App.安装(DB)
< BR/>选项
BR/> 'PeeWeiaAsicCn-连接'-连接到您的数据库的字符串(PASGRES://PASGRES:PASGRES:127.0.0.1)
'PeeWeiaAsicCnCalnsixPARAMS '--附加的连接参数({})
< BR/> 'PeeWeiaAsicCyS迁徙s'PATH '--迁移文件夹的路径(迁移)
对于t-in测试]
----
>创建迁移::
$muffin示例:app pw_create[名称][--auto]
>运行迁移:::
$muffin示例:app pw_migrate[名称][--fake]
回滚迁移:::
$muffin示例:app pw_回滚name
将数据加载/转储到csv
---------
将表“test”转储到csv文件:::
$muffin示例:app pw懔dump test
将数据从csv文件加载到表“test”::
$muffin示例:app pw懔load test
_ BugTracker:
Bug Tracker
==
如果您有任何建议、Bug报告或
烦恼,请在https://github.com/serathius/muffin peewee async/issues
向问题跟踪程序报告。_贡献:
贡献
==
muffin peewee async的开发发生在:https://github.com/serathius/muffin peewee async
贡献者
==
*serathius(marek siarkowicz)
_许可证:
许可证
=
_链接:
…_麻省理工学院许可证:http://opensource.org/licenses/mit
muffin peewee async—使用peewee async与muffin框架进行peewee集成。
muffin peewee async
用法
=
将“muffin peewee async”添加到muffin应用程序配置中的“插件”中。
或手动安装,如下所示::
app=muffin.application('test')
App.安装(DB)
< BR/>选项
BR/> 'PeeWeiaAsicCn-连接'-连接到您的数据库的字符串(PASGRES://PASGRES:PASGRES:127.0.0.1)
'PeeWeiaAsicCnCalnsixPARAMS '--附加的连接参数({})
< BR/> 'PeeWeiaAsicCyS迁徙s'PATH '--迁移文件夹的路径(迁移)
对于t-in测试]
----
>创建迁移::
$muffin示例:app pw_create[名称][--auto]
>运行迁移:::
$muffin示例:app pw_migrate[名称][--fake]
回滚迁移:::
$muffin示例:app pw_回滚name
将数据加载/转储到csv
---------
将表“test”转储到csv文件:::
$muffin示例:app pw懔dump test
将数据从csv文件加载到表“test”::
$muffin示例:app pw懔load test
_ BugTracker:
Bug Tracker
==
如果您有任何建议、Bug报告或
烦恼,请在https://github.com/serathius/muffin peewee async/issues
向问题跟踪程序报告。_贡献:
贡献
==
muffin peewee async的开发发生在:https://github.com/serathius/muffin peewee async
贡献者
==
*serathius(marek siarkowicz)
_许可证:
许可证
=
_链接:
…_麻省理工学院许可证:http://opensource.org/licenses/mit