MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / replace

Method replace

lib/sqlalchemy/dialects/postgresql/bitstring.py:173–180  ·  view source on GitHub ↗
(
        self,
        old: str,
        new: str,
        count: SupportsIndex = -1,
    )

Source from the content-addressed store, hash-verified

171 return BitString(super().removesuffix(suffix), False)
172
173 def replace(
174 self,
175 old: str,
176 new: str,
177 count: SupportsIndex = -1,
178 ) -> BitString:
179 new = BitString(new)
180 return BitString(super().replace(old, new, count), False)
181
182 def split(
183 self,

Callers 8

set_isolation_levelMethod · 0.45
_set_client_encodingMethod · 0.45
render_literal_valueMethod · 0.45
post_create_tableMethod · 0.45
_unquote_identifierMethod · 0.45
_parse_hstoreFunction · 0.45
escFunction · 0.45
_split_enum_valuesFunction · 0.45

Calls 1

BitStringClass · 0.85

Tested by

no test coverage detected