prepare better DB interaction with reload

This commit is contained in:
2026-05-06 15:35:49 +02:00
parent 3dbc9ecfcb
commit c3462d3d3a
4 changed files with 365 additions and 76 deletions

View File

@@ -72,6 +72,17 @@ df.row(0, named=True)
db.df_crm_master.estimated_size("mb")
# %%
# // CRM Ansprechpartner
df = db.df_contact_person.filter(pl.col.ma_id == 410)
df = df.with_columns(pl.col(pl.String).str.replace_all(r"[\r\t\n]", " ").str.strip_chars(" "))
df
# %%
tuple(zip(df["ma_id"], df["an_id"]))
# %%
db.df_crm_master
# %%
# // CRM Nutzer
stmt = sql.select(db.ext_crm_nutzer).limit(20)