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.
scalar
1 parent c5a7c14 commit 1e8bb52Copy full SHA for 1e8bb52
src/Illuminate/Database/ConnectionInterface.php
@@ -33,6 +33,18 @@ public function raw($value);
33
*/
34
public function selectOne($query, $bindings = [], $useReadPdo = true);
35
36
+ /**
37
+ * Run a select statement and return the first column of the first row.
38
+ *
39
+ * @param string $query
40
+ * @param array $bindings
41
+ * @param bool $useReadPdo
42
+ * @return mixed
43
44
+ * @throws \Illuminate\Database\MultipleColumnsSelectedException
45
+ */
46
+ public function scalar($query, $bindings = [], $useReadPdo = true);
47
+
48
/**
49
* Run a select statement against the database.
50
*
0 commit comments