mirror of
https://github.com/vrana/adminer.git
synced 2025-08-09 16:17:48 +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) {
|
foreach (Adminer\tables_list() as $table => $type) {
|
||||||
$prompt .= Adminer\create_sql($table, false, "CREATE") . ";\n\n";
|
$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;
|
//~ echo $prompt; exit;
|
||||||
$context = stream_context_create(array("http" => array(
|
$context = stream_context_create(array("http" => array(
|
||||||
"method" => "POST",
|
"method" => "POST",
|
||||||
|
Reference in New Issue
Block a user