-
Notifications
You must be signed in to change notification settings - Fork 10
The FROM Clause
Siim Kinks edited this page Mar 21, 2017
·
3 revisions
The SQL FROM clause allows for specifying which table to select data from. This also tells SqliteMagic what type of objects to parse and produce.
| SQL | SqliteMagic |
|---|---|
SELECT * FROM AUTHOR
SELECT * FROM AUTHOR AS 'a'
|
import static com.siimkinks.sqlitemagic.AuthorTable.AUTHOR;
Select.from(AUTHOR);
Select.from(AUTHOR.as("a")) |