1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-08 07:36:44 +02:00

AdminerSqlGemini: Return more columns by default

This commit is contained in:
Jakub Vrana
2025-03-25 06:29:41 +01:00
parent 190d91a0f9
commit 16e49d27cb

View File

@@ -28,7 +28,8 @@ class AdminerSqlGemini {
foreach (Adminer\tables_list() as $table => $type) {
$prompt .= Adminer\create_sql($table, false, "CREATE") . ";\n\n";
}
$prompt .= "Give me this SQL query and nothing else:\n\n$_POST[gemini]";
$prompt .= "Prefer returning more columns including primary key.\n\n";
$prompt .= "Give me this SQL query and nothing else:\n\n$_POST[gemini]\n\n";
//~ echo $prompt; exit;
$context = stream_context_create(array("http" => array(
"method" => "POST",