How can one write an alias for the column name in django query set. Would be useful for union-style combinations of two linked field to the same foreign model (for instance).
例如,我sql:
select m as n, b as a from xyz
如何在集延戈问询中做到这一点?
models.Table.objects.all().values( m , b )
任何帮助都会真正得到赞赏。