Add MongoDB query utilities and update batch size for document insertion
This commit is contained in:
@@ -335,7 +335,7 @@ def create_postgres_table_from_mongo(
|
||||
class MongoDocumentInserter:
|
||||
"""Insert MongoDB documents into PostgreSQL tables with type conversion."""
|
||||
|
||||
def __init__(self, batch_size: int = 1000):
|
||||
def __init__(self, batch_size: int = 10000):
|
||||
"""
|
||||
Initialize the document inserter.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user