aboutsummaryrefslogtreecommitdiff
path: root/libbrep
diff options
context:
space:
mode:
Diffstat (limited to 'libbrep')
-rw-r--r--libbrep/package.hxx5
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
//