标签: django orm
如何在Django ORM中表示此查询?
select RIGHT('000000' + CONVERT(varchar(06), COUNT(*)+1), 6) as Codigo from bd_pago