summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/build/content/metadata.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/build/content/metadata.txt b/doc/build/content/metadata.txt
index 1baa66364..fe9f036af 100644
--- a/doc/build/content/metadata.txt
+++ b/doc/build/content/metadata.txt
@@ -359,7 +359,7 @@ The above SQL functions are usually executed "inline" with the INSERT or UPDATE
* the `inline=True` flag is not set on the `Insert()` or `Update()` construct.
-For a statement which executes with `inline=False` and is not an executemany execution, the returned `ResultProxy` will contain a collection accessible via `result.postfetch_cols()` which contains a list of all `Column` objects which had an inline-executed default. Similarly, all parameters which were bound to the statement, including all Python and SQL expressions which were pre-executed, are present in the `last_inserted_params()` or `last_updated_params()` collections on `ResultProxy`. The `last_inserted_ids()` collection contains a list of primary key values for the row inserted.
+For a statement execution which is not an executemany, the returned `ResultProxy` will contain a collection accessible via `result.postfetch_cols()` which contains a list of all `Column` objects which had an inline-executed default. Similarly, all parameters which were bound to the statement, including all Python and SQL expressions which were pre-executed, are present in the `last_inserted_params()` or `last_updated_params()` collections on `ResultProxy`. The `last_inserted_ids()` collection contains a list of primary key values for the row inserted.
#### DDL-Level Defaults {@name=passive}
@@ -367,7 +367,7 @@ A variant on a SQL expression default is the `PassiveDefault`, which gets placed
{python}
t = Table('test', meta,
- Column('mycolumn', DateTime, PassiveDefault("sysdate"))
+ Column('mycolumn', DateTime, PassiveDefault(text("sysdate")))
)
A create call for the above table will produce: