MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / scalar_values

Method scalar_values

lib/sqlalchemy/sql/selectable.py:3450–3457  ·  view source on GitHub ↗

Returns a scalar ``VALUES`` construct that can be used as a COLUMN element in a statement. .. versionadded:: 2.0.0b4

(self)

Source from the content-addressed store, hash-verified

3448 return self
3449
3450 def scalar_values(self) -> ScalarValues:
3451 """Returns a scalar ``VALUES`` construct that can be used as a
3452 COLUMN element in a statement.
3453
3454 .. versionadded:: 2.0.0b4
3455
3456 """
3457 return ScalarValues(self._column_args, self._data, self.literal_binds)
3458
3459 def _populate_column_collection(
3460 self,

Callers 4

_post_coercionMethod · 0.80
test_scalar_valuesMethod · 0.80
test_scalar_valuesMethod · 0.80
CoreFixturesClass · 0.80

Calls 1

ScalarValuesClass · 0.85

Tested by 2

test_scalar_valuesMethod · 0.64
test_scalar_valuesMethod · 0.64