Raven.Migrations.Migrator.GetAppliedMigrations C# (CSharp) Method

GetAppliedMigrations() private method

private GetAppliedMigrations ( IDocumentStore store ) : IEnumerable
store IDocumentStore
return IEnumerable
        IEnumerable<MigrationInfo> GetAppliedMigrations(IDocumentStore store)
        {
            using (var session = store.OpenSession())
            {
                return session.Advanced
                    .LuceneQuery<MigrationInfo>()
                    .WaitForNonStaleResults()
                    .ToArray();
            }
        }