Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
598b198c
Commit
598b198c
authored
Mar 27, 2016
by
Berker Peksag
Browse files
Options
Browse Files
Download
Plain Diff
sqlite3 documentation: Connection.iterdump() is a method
parents
afd465d4
557a0630
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Doc/library/sqlite3.rst
Doc/library/sqlite3.rst
+2
-2
No files found.
Doc/library/sqlite3.rst
View file @
598b198c
...
@@ -495,7 +495,7 @@ Connection Objects
...
@@ -495,7 +495,7 @@ Connection Objects
deleted since the database connection was opened.
deleted since the database connection was opened.
..
attribute
:: iterdump
..
method
:: iterdump
Returns an iterator to dump the database in an SQL text format. Useful when
Returns an iterator to dump the database in an SQL text format. Useful when
saving an in-memory database for later restoration. This function provides
saving an in-memory database for later restoration. This function provides
...
@@ -505,7 +505,7 @@ Connection Objects
...
@@ -505,7 +505,7 @@ Connection Objects
Example::
Example::
# Convert file existing_db.db to SQL dump file dump.sql
# Convert file existing_db.db to SQL dump file dump.sql
import sqlite3
, os
import sqlite3
con = sqlite3.connect('existing_db.db')
con = sqlite3.connect('existing_db.db')
with open('dump.sql', 'w') as f:
with open('dump.sql', 'w') as f:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment