We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fetch all albums with a given artist
The text was updated successfully, but these errors were encountered:
def find_albums album_ids =[] results = CONNECTION.execute("SELECT * FROM albums_artists WHERE artist_id = #{@id};") results.each do |hash| album_ids << hash["album_id"] end Album.find_many(album_ids) end end
Sorry, something went wrong.
oobbles
No branches or pull requests
Fetch all albums with a given artist
The text was updated successfully, but these errors were encountered: