Generate client code based on the Swagger > OpenApi document #13
@ -121,7 +121,7 @@ func (r sourceRepository) GetBySourceAndName(ctx context.Context, source, name s
|
|||||||
b.Select("*")
|
b.Select("*")
|
||||||
b.From("Sources").Where(
|
b.From("Sources").Where(
|
||||||
b.Equal("Source", source),
|
b.Equal("Source", source),
|
||||||
b.Equal("Name", name),
|
b.Equal("DisplayName", name),
|
||||||
)
|
)
|
||||||
b.Limit(1)
|
b.Limit(1)
|
||||||
query, args := b.Build()
|
query, args := b.Build()
|
||||||
|
Loading…
Reference in New Issue
Block a user