select和 和有什么区别tablename.select()?当我将列名传递给table.select喜欢时:
table.select(table.c.name)
sql就像
select * from tablename where tablename.name
当我将一列传递给select(实例方法)时:
select([table.c.name])
sql就像
select name from tablename
我想要与 相同的select结果table.select。
当我阅读它的文档时,select它是相同的,所以它是相同的方法,但为什么它们有不同的行为?