We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98b9898 commit b4f07d4Copy full SHA for b4f07d4
laravel/database.php
@@ -133,6 +133,18 @@ public static function profile()
133
{
134
return Database\Connection::$queries;
135
}
136
+
137
+ /**
138
+ * Get the last query that was executed.
139
+ *
140
+ * Returns false if no queries have been executed yet.
141
142
+ * @return string
143
+ */
144
+ public static function last_query()
145
+ {
146
+ return Database\Connection::last_query();
147
+ }
148
149
/**
150
* Register a database connector and grammars.
0 commit comments