UNPKG

@cloud-copilot/iam-collect

Version:

Collect IAM information from AWS Accounts

15 lines 778 B
/** * Merge one or more SQLite databases (created with the same schema as SqliteAwsIamStore) * into a single target database. If the target DB does not exist, it will be created. * * Does not reindex the target database. * * The function is safe to call repeatedly with different source sets against the * same target. We use INSERT OR REPLACE so primary keys prevent duplication while * allowing newer rows to overwrite older ones. * * @param targetPath - The path to the target SQLite database file. If this does not exist it is created. * @param sourcePaths - An array of paths to the source SQLite database files. */ export declare function mergeSqliteDatabases(targetPath: string, sourcePaths: string[]): Promise<void>; //# sourceMappingURL=mergeSqlite.d.ts.map