'how to return an integer value in a query in android studio@Query ("SELECT MAX(documentoId) FROM Document") Cursor siguienteDocumentId();

//I'm new take me soft

@Query ("SELECT MAX(documentoId) FROM Document") Cursor siguienteDocumentId();//esta es la funcion la que devuelve el cursor



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source