diff options
Diffstat (limited to 'libbrep/package.hxx')
-rw-r--r-- | libbrep/package.hxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libbrep/package.hxx b/libbrep/package.hxx index f59c0d8..c4304f6 100644 --- a/libbrep/package.hxx +++ b/libbrep/package.hxx @@ -65,7 +65,10 @@ namespace brep using bpkg::url; #pragma db value(url) definition - #pragma db member(url::value) virtual(string) before access(this) column("") + #pragma db member(url::value) virtual(string) before \ + get(this.string ()) \ + set(this = brep::url ((?), "" /* comment */)) \ + column("") // email // |