怎么做
选择'blah'作为虚拟列
在小便??
我试过了
MyTable.select('blah')
但是没有效果
最佳答案
MyModel.select(
MyModel.some_field.alias('another_name'),
Value('a string literal').alias('a_string'),
Value(12345).alias('a_number'))
关于python - 如何在peewee中选择虚拟列?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36395229/