includes/db/DatabaseSqlite.php 1 location
|
@@ 1031-1040 (lines=10) @@
|
| 1028 |
|
|
| 1029 |
|
$endArray = []; |
| 1030 |
|
|
| 1031 |
|
foreach ( $result as $table ) { |
| 1032 |
|
$vars = get_object_vars( $table ); |
| 1033 |
|
$table = array_pop( $vars ); |
| 1034 |
|
|
| 1035 |
|
if ( !$prefix || strpos( $table, $prefix ) === 0 ) { |
| 1036 |
|
if ( strpos( $table, 'sqlite_' ) !== 0 ) { |
| 1037 |
|
$endArray[] = $table; |
| 1038 |
|
} |
| 1039 |
|
} |
| 1040 |
|
} |
| 1041 |
|
|
| 1042 |
|
return $endArray; |
| 1043 |
|
} |
includes/db/DatabaseMysqlBase.php 1 location
|
@@ 1245-1252 (lines=8) @@
|
| 1242 |
|
|
| 1243 |
|
$endArray = []; |
| 1244 |
|
|
| 1245 |
|
foreach ( $result as $table ) { |
| 1246 |
|
$vars = get_object_vars( $table ); |
| 1247 |
|
$table = array_pop( $vars ); |
| 1248 |
|
|
| 1249 |
|
if ( !$prefix || strpos( $table, $prefix ) === 0 ) { |
| 1250 |
|
$endArray[] = $table; |
| 1251 |
|
} |
| 1252 |
|
} |
| 1253 |
|
|
| 1254 |
|
return $endArray; |
| 1255 |
|
} |
includes/db/DatabasePostgres.php 1 location
|
@@ 1056-1062 (lines=7) @@
|
| 1053 |
|
$result = $this->query( "SELECT tablename FROM pg_tables WHERE schemaname = $eschema", $fname ); |
| 1054 |
|
$endArray = []; |
| 1055 |
|
|
| 1056 |
|
foreach ( $result as $table ) { |
| 1057 |
|
$vars = get_object_vars( $table ); |
| 1058 |
|
$table = array_pop( $vars ); |
| 1059 |
|
if ( !$prefix || strpos( $table, $prefix ) === 0 ) { |
| 1060 |
|
$endArray[] = $table; |
| 1061 |
|
} |
| 1062 |
|
} |
| 1063 |
|
|
| 1064 |
|
return $endArray; |
| 1065 |
|
} |