mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 15:47:00 +02:00
AdminerSqlGemini: Return more columns by default
This commit is contained in:
@@ -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",
|
||||
|
Reference in New Issue
Block a user