Ejemplo n.º 1
0
 public static IEnumerable <QueryResult <TProjection> > Query <TProjection>(
     this DocumentTransaction tx, DocumentTable table, byte[] since, string select = null) =>
 tx.Query <TProjection>(table, null, false, @select,
                        @where: $"{DocumentTable.TimestampColumn.Name} > @Since and {DocumentTable.TimestampColumn.Name} < min_active_rowversion()",
                        @orderby: $"{DocumentTable.TimestampColumn.Name} ASC",
                        includeDeleted: true,
                        parameters: new { Since = since }
                        ).rows;