We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10bc6d5 commit 958a203Copy full SHA for 958a203
app/src/main/java/br/com/sql/Example.java
@@ -6,7 +6,6 @@
6
7
import com.simplesql.simplesql.config.SimpleSQL;
8
9
-import java.sql.SQLException;
10
import java.util.List;
11
12
public class Example extends AppCompatActivity {
@@ -22,9 +21,7 @@ protected void onCreate(Bundle savedInstanceState) {
22
21
pessoa.setPhone("1231789201");
23
boolean result = simpleSQL.insert(pessoa).execute();
24
25
-
26
27
- List<Pessoa> list = simpleSQL.selectTable(new Pessoa())
+ List<Pessoa> list = (List<Pessoa>) simpleSQL.selectTable(new Pessoa())
28
.fields(new String[]{"*"})
29
.execute();
30
}
0 commit comments