KamilH
08/24/2022, 8:22 PMmoduleA that contains a table definitions. I would like to write some queries for those tables in a separate moduleB. Is it possible? I had found dependency(project(":path")) option and I tried to use it, however when I try to reference a table in a .sq file it fails to resolve it. Is there anything I’m missing?KamilH
08/24/2022, 8:39 PMhfhbd
08/25/2022, 6:50 AMKamilH
08/25/2022, 6:56 AMmoduleB that you want to include in Database that is defined in moduleA. I would like to achieve something different - get access to tables created in moduleA from moduleB.
Lets say in moduleA I have:
CREATE TABLE hockeyPlayer (
player_number INTEGER NOT NULL,
full_name TEXT NOT NULL
);
in moduleB i would like to be able to write:
selectAll:
SELECT *
FROM hockeyPlayer;hfhbd
08/25/2022, 6:59 AMKamilH
08/25/2022, 7:00 AMhfhbd
08/28/2022, 7:52 PMdependency(project(":moduleB")) to moduleB with this content: dependency(project(":moduleA")) and the same with the implementation. The error was very easy to overlook :DKamilH
08/28/2022, 9:02 PM