You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@entity
public class User { @id(autoincrement = true)
private Long id;
private String name;
@Generated(hash = 873297011)
public User(Long id, String name) {
this.id = id;
this.name = name;
}
@Generated(hash = 586692638)
public User() {
}
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
}
I want to query the records with the specified number of rows。for example,There are five records in this table. I want to check the third record。I see that the loadbyrowid() interface is available,but not query.
so,i want to know How to use the loadbyrowid() interface?and my issues can how to query?
The text was updated successfully, but these errors were encountered:
package com.example.greendaotest;
import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;
@entity
public class User {
@id(autoincrement = true)
private Long id;
}
I want to query the records with the specified number of rows。for example,There are five records in this table. I want to check the third record。I see that the loadbyrowid() interface is available,but not query.
so,i want to know How to use the loadbyrowid() interface?and my issues can how to query?
The text was updated successfully, but these errors were encountered: