Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
6550f032
Kaydet (Commit)
6550f032
authored
May 01, 2006
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
- minor clarification in section title
- markup adjustments (there is clearly much to be done in this section)
üst
dbcc8d9b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
15 deletions
+9
-15
libsqlite3.tex
Doc/lib/libsqlite3.tex
+9
-15
No files found.
Doc/lib/libsqlite3.tex
Dosyayı görüntüle @
6550f032
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
DB-API 2.0 interface for SQLite databases
}
DB-API 2.0 interface for SQLite databases
}
\declaremodule
{
builtin
}{
sqlite3
}
\declaremodule
{
builtin
}{
sqlite3
}
\modulesynopsis
{
A DB-API 2.0 i
nterface based on
SQLite 3.x.
}
\modulesynopsis
{
A DB-API 2.0 i
mplementation using
SQLite 3.x.
}
...
@@ -20,7 +20,6 @@ registered for that type there. Converter names are case-sensitive!
...
@@ -20,7 +20,6 @@ registered for that type there. Converter names are case-sensitive!
\begin{datadesc}
{
PARSE
_
COLNAMES
}
\begin{datadesc}
{
PARSE
_
COLNAMES
}
Setting this makes pysqlite parse the column name for each column it returns.
Setting this makes pysqlite parse the column name for each column it returns.
It will look for a string formed [mytype] in there, and then decide that
It will look for a string formed [mytype] in there, and then decide that
'mytype' is the type of the column. It will try to find an entry of 'mytype' in
'mytype' is the type of the column. It will try to find an entry of 'mytype' in
...
@@ -67,7 +66,6 @@ The currently implemented default is to cache 100 statements.
...
@@ -67,7 +66,6 @@ The currently implemented default is to cache 100 statements.
\end{funcdesc}
\end{funcdesc}
\begin{funcdesc}
{
register
_
converter
}{
typename, callable
}
\begin{funcdesc}
{
register
_
converter
}{
typename, callable
}
Registers a callable to convert a bytestring from the database into a custom
Registers a callable to convert a bytestring from the database into a custom
Python type. The callable will be invoked for all database values that are of
Python type. The callable will be invoked for all database values that are of
the type
\var
{
typename
}
. Confer the parameter **detect
_
types** of the
the type
\var
{
typename
}
. Confer the parameter **detect
_
types** of the
...
@@ -83,23 +81,19 @@ int, long, float, str (UTF-8 encoded), unicode or buffer.
...
@@ -83,23 +81,19 @@ int, long, float, str (UTF-8 encoded), unicode or buffer.
\end{funcdesc}
\end{funcdesc}
\subsection
{
Connection Objects
\label
{
sqlite3-Connection-Objects
}}
\subsection
{
Connection Objects
\label
{
Connection-Objects
}}
A
\class
{
Connection
}
instance has the following attributes and methods:
A
\class
{
Connection
}
instance has the following attributes and methods:
\member
{
isolation
_
level
}
\begin{memberdesc}
{
isolation
_
level
}
Get or set the current isolation level. None for autocommit mode or one
Get or set the current isolation level. None for autocommit mode or one
of "DEFERRED", "IMMEDIATE" or "EXLUSIVE". See `5. Controlling
of "DEFERRED", "IMMEDIATE" or "EXLUSIVE". See `5. Controlling
Transactions`
_
for a more detailed explanation.
Transactions`
_
for a more detailed explanation.
\end{memberdesc}
\begin{methoddesc}
{
cursor
}{
\optional
{
cursorClass
}}
\begin{methoddesc}
{
cursor
}{
\optional
{
cursorClass
}}
The cursor method accepts a single optional parameter
\var
{
cursorClass
}
.
The cursor method accepts a single optional parameter
\var
{
cursorClass
}
.
This is a custom cursor class which must extend sqlite3.Cursor
.
This is a custom cursor class which must extend
\class
{
sqlite3.Cursor
}
.
\end{methoddesc}
\end{methoddesc}
TODO: execute*
TODO: execute*
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