good morning!!!!

Skip to content
Snippets Groups Projects
Commit f2912711 authored by José Carlos Nieto's avatar José Carlos Nieto
Browse files

Fixing db.Raw usage.

parent fd2d4a0c
Branches
Tags
No related merge requests found
...@@ -744,9 +744,9 @@ func TestRawRelations(t *testing.T) { ...@@ -744,9 +744,9 @@ func TestRawRelations(t *testing.T) {
t.Fatalf(err.Error()) t.Fatalf(err.Error())
} }
res := artistPublication.Find(db.Cond{ res := artistPublication.Find(
"a.id": db.Raw{"p.author_id"}, db.Raw{"a.id = p.author_id"},
}).Select( ).Select(
"p.id", "p.id",
"p.title as publication_title", "p.title as publication_title",
"a.name AS artist_name", "a.name AS artist_name",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment