对象关系映射器 Pony ORM

码农软件 · 软件分类 · ORM/持久层框架 · 2019-09-24 09:28:54

软件介绍

Pony ORM 非常有趣. 

Pony 可以将 Python Generators 翻译成 SQL. 

它拥有可视编辑器和模型等其他特性. 

Free for Non-commercial use with paid commercial licenses.

语法:

select(c for c in Customer
         if sum(c.orders.price) > 1000)

翻译成 SQL 后的效果:

SELECT "c"."id"
FROM "Customer" "c"
  LEFT JOIN "Order" "order-1"
    ON "c"."id" = "order-1"."customer"
GROUP BY "c"."id"
HAVING coalesce(SUM("order-1"."total_price"), 0) > 1000

本文地址:https://codercto.com/soft/d/15282.html

The Algorithm Design Manual

The Algorithm Design Manual

Steven S Skiena / Springer / 2011-11-14 / GBP 55.07

....The most comprehensive guide to designing practical and efficient algorithms.... Written by a well-known algorithms researcher who received the IEEE Computer Science and Engineering Teaching Aw......一起来看看 《The Algorithm Design Manual》 这本书的介绍吧!

随机密码生成器
随机密码生成器

多种字符组合密码

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具