当前位置: 动力学知识库 > 问答 > 编程问答 >

database - Yesod Persistence - Aggregate functions

问题描述:

I'm evaluating Yesod as a platform for writing a web-based accounting software for in-house use. So far I'm impressed.

Modelling the entities to suit Persistent is pretty straight-forward, being able to set column names helps greatly as the database with accounting entries already exists.

However I will need to eventually run queries that aggregate the data also, ie. give me the balance for this account. Can this be expressed within Persistent?

分享给朋友:
您可能感兴趣的文章:
随机阅读: