Guest User

Untitled

a guest
Jan 19th, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. SELECT myT.col1, myT.col2, myT.col3, fun_get_calculatedCol(myT.col4) as calcCol FROM myTable myT
  2.  
  3. @Query("SELECT myT.col1, myT.col2, myT.col3 from MyTable myT")
  4. List<MyTable> getCustomColumns();
  5.  
  6. @Query("SELECT myT.col1, myT.col2, myT.col3, fun_get_calculatedCol(myT.col4) as calcCol from MyTable myT")
  7. List<MyTable> getCustomColumns();
Add Comment
Please, Sign In to add comment