@@ -48,86 +48,16 @@ Nominally Supported Optional Features
4848 Although this method is present, it does nothing, as allowed by the spec.
4949
5050
51- Extensions and Caveats
52- ======================
51+ Caveats
52+ =======
5353
5454Firebird-driver offers a large feature set beyond the minimal requirements
5555of the Python DB API. This section attempts to document only those
56- features that overlap with the DB API, or are too insignificant
57- to warrant their own subsection elsewhere.
56+ features that overlap with the DB API.
5857
5958
60- `.connect`
61-
62- This function supports the following optional keyword arguments in addition
63- to those required by the spec:
64-
65- :role: For connecting to a database with a specific SQL role.
66-
67- *Example:*
68-
69- .. sourcecode:: python
70-
71- firebird.driver.connect(dsn='host:/path/database.db', user='limited_user', password='pass', role='MORE_POWERFUL_ROLE')
72-
73- :charset: For explicitly specifying the character set of the connection.
74- See Firebird Documentation for a list of available character sets, and
75- `Unicode Fields and Firebird-driver` section for information on handling
76- extended character sets with Firebird-driver.
77-
78- *Example:*
79-
80- .. sourcecode:: python
81-
82- firebird.driver.connect(dsn='host:/path/database.db', user='sysdba', password='pass', charset='UTF8')
83-
84- :sql_dialect: The SQL dialect is feature for backward compatibility with Interbase® 5.5
85- or earlier. The default dialect is `3` (the most featureful dialect, default
86- for Firebird). If you want to connect to `legacy` databases, you must
87- explicitly set this argument's value to `1`. Dialect `2` is a transitional
88- dialect that is normally used only during ports from IB < 6 to IB >= 6
89- or Firebird. See Firebird documentation for more information about
90- SQL Dialects.
91-
92- *Example:*
93-
94- .. sourcecode:: python
95-
96- firebird.driver.connect(dsn='host:/path/database.db', user='sysdba', password='pass', dialect=1)
97-
9859`.Connection`
9960
100- `~.Connection.charset`
101-
102- *(read-only)* The character set of the connection (set via the `charset`
103- parameter of `.connect()`). See Firebird Documentation for a list
104- of available character sets, and `Unicode Fields and Firebird-driver` section
105- for information on handling extended character sets with Firebird-driver.
106-
107- `~.Connection.sql_dialect`
108-
109- This integer attribute indicates which SQL dialect the connection is using.
110- You should not change a connection's dialect; instead, discard the connection
111- and establish a new one with the desired dialect. For more information, see
112- the documentation of the `sql_dialect` argument of the `connect` function.
113-
114- `~.Connection.server_version`
115-
116- *(read-only)* The version string of the database server to which this connection
117- is connected.
118-
119- `~.Connection.execute_immediate`
120-
121- Executes a statement without caching its prepared form. The statement must *not* be
122- of a type that returns a result set. In most cases (especially cases in which the same
123- statement -- perhaps a parameterized statement -- is executed repeatedly),
124- it is better to create a cursor using the connection's `cursor` method, then execute
125- the statement using one of the cursor's execute methods.
126-
127- Arguments:
128-
129- :sql: String containing the SQL statement to execute.
130-
13161 `~.Connection.commit(retaining=False)`
13262 `~.Connection.rollback(retaining=False, savepoint=None)`
13363
@@ -197,13 +127,3 @@ to warrant their own subsection elsewhere.
197127 .. note::
198128
199129 This attribute is just an alias for `.Cursor.affected_rows` property.
200-
201- `~.Cursor.fetchone`
202-
203- `~.Cursor.fetchmany`
204-
205- `~.Cursor.fetchall`
206-
207- Firebird-driver makes absolutely no guarantees about
208- the return value of the `fetchone` / `fetchmany` / `fetchall` methods
209- except that it is a sequence indexed by field position.
0 commit comments