Skip to content

Commit 234e9b5

Browse files
committed
restructured
1 parent f0a18ed commit 234e9b5

File tree

8 files changed

+327
-133
lines changed

8 files changed

+327
-133
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,3 +372,14 @@ dbg_is_status_activated
372372
deactivate
373373
enum
374374
```
375+
376+
- 最后
377+
378+
dbg-script生成的代码质量还是很不错的, 并且通常对python代码有着一比十几的扩张率.
379+
380+
auto-orm主要展示的是敏捷便利和类型安全, 在功能上还有欠缺.但虽说如此, 在绝大部分情况下(博客系统,
381+
无访问量骤升的中小型网站等)都是非常够用的, 就开发体验上静态检查一条龙的优势, 使用auto-orm是
382+
一件明智的事情.
383+
384+
当然你可以先学会这里面所有的与静态检查相处的技巧, 然后自己造轮子.
385+

dbgout.py

Lines changed: 0 additions & 128 deletions
This file was deleted.

test.dbg renamed to examples/example1.dbg

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
engine {
22
url = "sqlite:///:memory:"
3-
url = "mysql+pymysql://root:12345@localhost/test?charset=utf8"
3+
# url = "mysql+pymysql://root:12345@localhost/test?charset=utf8"
44
# other key-value pairs for configurations are welcome
55
}
66

77
python
88
print('start engine')
99

10-
1110
User{
1211
a: Integer = (1 + 2),
1312
b: Integer = (2 + 3)

0 commit comments

Comments
 (0)