1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-21 05:41:27 +02:00

Delete incorporated plugin

This commit is contained in:
Jakub Vrana
2025-03-06 14:59:48 +01:00
parent c6f825a786
commit edd7c67797
2 changed files with 1 additions and 49 deletions

View File

@@ -771,6 +771,7 @@ AND typelem = 0"
}
function type_values($id) {
// to get values from type string: unnest(enum_range(NULL::"$type"))
$enums = get_vals("SELECT enumlabel FROM pg_enum WHERE enumtypid = $id ORDER BY enumsortorder");
return ($enums ? "'" . implode("', '", array_map('addslashes', $enums)) . "'" : "");
}