includes/db/DatabaseSqlite.php 1 location
|
@@ 1022-1031 (lines=10) @@
|
| 1019 |
|
|
| 1020 |
|
$endArray = []; |
| 1021 |
|
|
| 1022 |
|
foreach ( $result as $table ) { |
| 1023 |
|
$vars = get_object_vars( $table ); |
| 1024 |
|
$table = array_pop( $vars ); |
| 1025 |
|
|
| 1026 |
|
if ( !$prefix || strpos( $table, $prefix ) === 0 ) { |
| 1027 |
|
if ( strpos( $table, 'sqlite_' ) !== 0 ) { |
| 1028 |
|
$endArray[] = $table; |
| 1029 |
|
} |
| 1030 |
|
} |
| 1031 |
|
} |
| 1032 |
|
|
| 1033 |
|
return $endArray; |
| 1034 |
|
} |
includes/db/DatabasePostgres.php 1 location
|
@@ 1055-1061 (lines=7) @@
|
| 1052 |
|
$result = $this->query( "SELECT tablename FROM pg_tables WHERE schemaname = $eschema", $fname ); |
| 1053 |
|
$endArray = []; |
| 1054 |
|
|
| 1055 |
|
foreach ( $result as $table ) { |
| 1056 |
|
$vars = get_object_vars( $table ); |
| 1057 |
|
$table = array_pop( $vars ); |
| 1058 |
|
if ( !$prefix || strpos( $table, $prefix ) === 0 ) { |
| 1059 |
|
$endArray[] = $table; |
| 1060 |
|
} |
| 1061 |
|
} |
| 1062 |
|
|
| 1063 |
|
return $endArray; |
| 1064 |
|
} |
includes/db/DatabaseMysqlBase.php 1 location
|
@@ 1263-1270 (lines=8) @@
|
| 1260 |
|
|
| 1261 |
|
$endArray = []; |
| 1262 |
|
|
| 1263 |
|
foreach ( $result as $table ) { |
| 1264 |
|
$vars = get_object_vars( $table ); |
| 1265 |
|
$table = array_pop( $vars ); |
| 1266 |
|
|
| 1267 |
|
if ( !$prefix || strpos( $table, $prefix ) === 0 ) { |
| 1268 |
|
$endArray[] = $table; |
| 1269 |
|
} |
| 1270 |
|
} |
| 1271 |
|
|
| 1272 |
|
return $endArray; |
| 1273 |
|
} |