Persistence: Select by Class without Where clause

Discussion in 'Plugin Help/Development/Requests' started by Datamancer, Feb 21, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    Datamancer

    Hey guys, quick question about Bukkit persistence:

    I know I can do
    Whatever w = ...find(Whatever.class) .where().ieq("columnName", "value").findUnique();

    and I can do
    Set<Whatever> ws= ...find(Whatever.class).where().ieq("columnName", "value").findSet();

    but how can I get the full set of Whatevers, with no Where clause?

    In MySQL parlance, I'm trying to do "SELECT * FROM WhateverTable"

    Any help is appreciated.
     
Thread Status:
Not open for further replies.

Share This Page