Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT myT.col1, myT.col2, myT.col3, fun_get_calculatedCol(myT.col4) as calcCol FROM myTable myT
- @Query("SELECT myT.col1, myT.col2, myT.col3 from MyTable myT")
- List<MyTable> getCustomColumns();
- @Query("SELECT myT.col1, myT.col2, myT.col3, fun_get_calculatedCol(myT.col4) as calcCol from MyTable myT")
- List<MyTable> getCustomColumns();
Add Comment
Please, Sign In to add comment