return specific fields

This commit is contained in:
Matthew Saunders Brown 2022-05-10 10:32:57 -07:00
parent 5613604eb7
commit 05996c8c4d

View File

@ -35,7 +35,7 @@ dbcmdopts="-e"
if [[ -n $tab ]]; then if [[ -n $tab ]]; then
dbcmdopts="-s -N $dbcmdopts" dbcmdopts="-s -N $dbcmdopts"
fi fi
dbquery="SELECT * from vm_domains" dbquery="SELECT domain, status, mbox_limit, mbox_quota_default, mbox_ratelimit_default FROM vm_domains"
# build query # build query
if [[ -n $domain ]]; then if [[ -n $domain ]]; then