with sqlite3.connect('base.db') as conn:
cursor = conn.cursor()
cursor.execute(f"SELECT nabor FROM inv where ids={ctx.author.id}")
data = cursor.fetchall()
print(data)
data['id'] = '99'
#Как записать в data значение 99 обратно в базу ?
with sqlite3.connect('base.db') as conn:
cursor = conn.cursor()
cursor.execute(f"UPDATE inv SET nabor = json_replace(nabor, '$.id', 99) WHERE ids={ctx.author.id}")
con.commit()