MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / scalar_values

Method scalar_values

lib/sqlalchemy/sql/selectable.py:3526–3533  ·  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

3524 return self
3525
3526 def scalar_values(self) -> ScalarValues:
3527 """Returns a scalar ``VALUES`` construct that can be used as a
3528 COLUMN element in a statement.
3529
3530 .. versionadded:: 2.0.0b4
3531
3532 """
3533 return ScalarValues(self._column_args, self._data, self.literal_binds)
3534
3535 def _populate_column_collection(
3536 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