-
[P]
$pdo : Barebone\Database\Connectors\PDO
-
[M]
__construct() : void
-
[M]
can_connect() : bool
-
[M]
load_sql_from_disk(
string $filename ) : void
-
[M]
get_database() : void
-
[M]
get_database_info(
string $dbname ) : void
-
[M]
change_database(
string $dbhost,
string $dbuser,
string $dbpass,
string $dbname ) : void
-
[M]
create_schema(
array $options ) : void
-
[M]
merge_schema(
array $options ) : void
-
[M]
create_table(
array $options,
string $database ) : void
-
[M]
merge_table(
array $options,
string $database ) : void
-
[M]
get_schema_json(
$tablename,
$dbname ) : string
-
[M]
get_schema_data(
$tablename,
$dbname ) : object
-
[M]
drop_activerecords(
array $models ) : void
-
[M]
create_activerecords(
bool $create_activerecords,
bool $create_activerecords_service_classes,
bool $overwrite_activerecords_service_classes,
bool $strict_type ) : void
-
[M]
get_databases(
string $host,
string $user,
string $pass ) : array
-
[M]
getActiveRecord(
string $activerecord ) : Barebone\Activerecord
-
[M]
table(
string $tablename ) : Barebone\Activerecord
-
[M]
clean(
string $data ) : string
-
[M]
get_table_names(
string $dbname ) : array
-
[M]
get_columns(
string $tablename,
string $dbname,
bool $full ) : array
-
[M]
get_column_names(
string $tablename,
string $dbname,
bool $full ) : array
-
[M]
get_table_status(
string $tablename ) : void
-
[M]
get_engine(
string $tablename ) : void
-
[M]
get_encoding(
string $tablename ) : void
-
[M]
get(
string $tablename,
array $where,
string $orderby,
string $limit,
string $class_name ) : void
-
[M]
getrow(
string $tablename,
array $where,
string $orderby,
string $limit,
string $class_name ) : void
-
[M]
doquery(
string $statement,
array $input_parameters,
string $clsname ) : Barebone\Database\Queryresult
-
[M]
getprimary(
string $tablename ) : string
-
[M]
set(
string $tablename,
object|array $data ) : void
-
[M]
insert(
string $tablename,
object|array $data ) : void
-
[M]
update(
string $tablename,
string $primarykey,
$data ) : void
-
[M]
get_by_primary(
string $tablename,
string $primary,
string $id,
string $class_name ) : void
-
[M]
execute(
string $sql ) : void
-
[M]
delete(
string $sql ) : void
-
[M]
removerow(
string $tablename,
$id ) : void
-
[M]
get_date_from_interval(
string $interval,
string $interval_type ) : void
-
[M]
get_set(
string $table,
string $field ) : void
-
[M]
batch_execute(
array $sqls ) : void
-
[M]
guess_column_type(
mixed $var ) : string
-
[M]
guess_openapi_column_type(
string $fieldType ) : void
-
[M]
get_php_type_from_column_type(
string $fieldType ) : void
-
[M]
format_csv_columns_name(
array $columns,
string $name ) : void
-
[M]
find_in(
string $tablename,
string $key,
array $ids,
string $type,
bool $quote ) : array
-
[M]
create_new_table(
string $tablename,
array $columns,
bool $return ) : void
-
[M]
csv_to_table(
string $tablename,
array $csv_data ) : void
-
[M]
beginTransaction() : void
-
[M]
commitTransaction() : void
-
[M]
rollbackTransaction() : void