-
Notifications
You must be signed in to change notification settings - Fork 10
The FROM Clause
Siim Kinks edited this page Nov 21, 2016
·
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'
</code></pre>
</td>
<td style="padding:0; margin:0; border:none; width:50%;">
<pre lang="java"><code class="language-java">import static com.siimkinks.sqlitemagic.AuthorTable.AUTHOR;
Select.from(AUTHOR);
Select.from(AUTHOR.as("a"))
</code></pre>
</td>
|