H
H
hidden452014-03-19 17:34:56
SQL
hidden45, 2014-03-19 17:34:56

How to select the last n table elements from the database (ebean) in play framework 2.2.*?

Help to make a selection from the table.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dfire, 2014-05-20
@dfire

static Finder find = new Finder(K.class, T.class);
find.where().setMaxRows(n).findList();
add sorting to taste.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question