Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: default pagesize (#11795)
Liu Ji1df93e33175f
diff --git a/frontend/src/store/modules/v1/database.ts b/frontend/src/store/modules/v1/database.tsindex d1d7924ffb..9e44f81af5 100644--- a/frontend/src/store/modules/v1/database.ts+++ b/frontend/src/store/modules/v1/database.ts@@ -27,6 +27,8 @@ import { useEnvironmentV1Store } from "./environment";import { useInstanceV1Store } from "./instance";import { useProjectV1Store } from "./project";+export const DEFAULT_DATABASE_PAGE_SIZE = 1000000;+export const useDatabaseV1Store = defineStore("database_v1", () => {const databaseMapByName = reactive(new Map<string, ComposedDatabase>());const databaseMapByUID = reactive(new Map<string, ComposedDatabase>());@@ -64,7 +66,10 @@ export const useDatabaseV1Store = defineStore("database_v1", () => {}};const searchDatabases = async (args: Partial<SearchDatabasesRequest>) => {- const { databases } = await databaseServiceClient.searchDatabases(args);+ const { databases } = await databaseServiceClient.searchDatabases({+ pageSize: DEFAULT_DATABASE_PAGE_SIZE,+ ...args,+ });const composedDatabaseList = await upsertDatabaseMap(databases);return composedDatabaseList;};