userver icon indicating copy to clipboard operation
userver copied to clipboard

feat docs: add an example for retrieving binary data from a 'bytea' PostgreSQL field

Open TertiumOrganum1 opened this issue 1 year ago • 3 comments

The main part is

row["data"].To(pg::Bytea(tgt_bin_str))

TertiumOrganum1 avatar May 14 '24 17:05 TertiumOrganum1

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

github-actions[bot] avatar May 14 '24 17:05 github-actions[bot]

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/

TertiumOrganum1 avatar May 14 '24 18:05 TertiumOrganum1

recheck

TertiumOrganum1 avatar May 14 '24 18:05 TertiumOrganum1