1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

[Python] How to use peewee limit()?

Discussão em 'Python' iniciado por Stack, Setembro 13, 2024.

  1. Stack

    Stack Membro Participativo

    With Peewee I'm trying to use limit as follows:

    one_ticket = Ticket.select().limit(1)
    print one_ticket.count()


    This prints out 5 however. Does anybody know what's wrong here?

    Continue reading...

Compartilhe esta Página