|
|
|
@ -87,9 +87,8 @@ namespace Squidex.Domain.Apps.Entities.MongoDb.Contents |
|
|
|
public async Task<IResultList<IContentEntity>> QueryAsync(IAppEntity app, ISchemaEntity schema, Status[] status, HashSet<Guid> ids, bool includeDraft = true) |
|
|
|
{ |
|
|
|
Guard.NotNull(app, nameof(app)); |
|
|
|
Guard.NotNull(schema, nameof(schema)); |
|
|
|
Guard.NotNull(status, nameof(status)); |
|
|
|
Guard.NotNull(ids, nameof(ids)); |
|
|
|
Guard.NotNull(schema, nameof(schema)); |
|
|
|
|
|
|
|
using (Profiler.TraceMethod<MongoContentRepository>("QueryAsyncByIds")) |
|
|
|
{ |
|
|
|
@ -100,7 +99,6 @@ namespace Squidex.Domain.Apps.Entities.MongoDb.Contents |
|
|
|
public async Task<List<(IContentEntity Content, ISchemaEntity Schema)>> QueryAsync(IAppEntity app, Status[] status, HashSet<Guid> ids, bool includeDraft = true) |
|
|
|
{ |
|
|
|
Guard.NotNull(app, nameof(app)); |
|
|
|
Guard.NotNull(status, nameof(status)); |
|
|
|
Guard.NotNull(ids, nameof(ids)); |
|
|
|
|
|
|
|
using (Profiler.TraceMethod<MongoContentRepository>("QueryAsyncByIdsWithoutSchema")) |
|
|
|
@ -113,7 +111,6 @@ namespace Squidex.Domain.Apps.Entities.MongoDb.Contents |
|
|
|
{ |
|
|
|
Guard.NotNull(app, nameof(app)); |
|
|
|
Guard.NotNull(schema, nameof(schema)); |
|
|
|
Guard.NotNull(status, nameof(status)); |
|
|
|
|
|
|
|
using (Profiler.TraceMethod<MongoContentRepository>()) |
|
|
|
{ |
|
|
|
|