We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99537cf commit 480f188Copy full SHA for 480f188
1 file changed
src/DisciteDB/Database.php
@@ -230,6 +230,20 @@ public function table(string $name): QueryResult|TableInterface
230
}
231
232
233
+ /**
234
+ * Retrieve SQL map.
235
+ *
236
+ * Return SQL map if you decide to load database from SQL requests or file.
237
238
+ * @return ?array Returns the multidmentional array of map if exist.
239
240
+ */
241
+ public function map() : ?array
242
+ {
243
+ return $this->map;
244
+ }
245
+
246
247
/**
248
* Magic getter to retrieve a table interface by property access.
249
*
0 commit comments