From 81d8394c0b5342cdc603cb2e07e12139c9506bf6 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Thu, 18 Aug 2022 13:56:50 -0400 Subject: New ORM Query Guide featuring DML support reviewers: these docs publish periodically at: https://docs.sqlalchemy.org/en/gerrit/4042/orm/queryguide/index.html See the "last generated" timestamp near the bottom of the page to ensure the latest version is up Change includes some other adjustments: * small typing fixes for end-user benefit * removal of a bunch of old examples for patterns that nobody uses or aren't really what we promote now * modernization of some examples, including inheritance Change-Id: I9929daab7797be9515f71c888b28af1209e789ff --- lib/sqlalchemy/sql/_dml_constructors.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/sqlalchemy/sql/_dml_constructors.py') diff --git a/lib/sqlalchemy/sql/_dml_constructors.py b/lib/sqlalchemy/sql/_dml_constructors.py index 293d225f9..889865649 100644 --- a/lib/sqlalchemy/sql/_dml_constructors.py +++ b/lib/sqlalchemy/sql/_dml_constructors.py @@ -57,9 +57,9 @@ def insert(table: _DMLTableArgument) -> Insert: backends that support "returning", this turns off the "implicit returning" feature for the statement. - If both :paramref:`_expression.Insert.values` and compile-time bind + If both :paramref:`_expression.insert.values` and compile-time bind parameters are present, the compile-time bind parameters override the - information specified within :paramref:`_expression.Insert.values` on a + information specified within :paramref:`_expression.insert.values` on a per-key basis. The keys within :paramref:`_expression.Insert.values` can be either -- cgit v1.2.1