spaces to tabs

This commit is contained in:
Arsen Mirzaev Tatyano-Muradovich 2025-01-28 15:00:17 +07:00
parent 1ea9c1f41f
commit d7e3a61e63

View File

@ -21,20 +21,20 @@ use mirzaev\baza\database,
// Initializing the database // Initializing the database
$database = new database() $database = new database()
->encoding(encoding::utf8) ->encoding(encoding::utf8)
->columns( ->columns(
new column('name', type::string, ['length' => 32]), new column('name', type::string, ['length' => 32]),
new column('second_name', type::string, ['length' => 64]), new column('second_name', type::string, ['length' => 64]),
new column('age', type::integer), new column('age', type::integer),
new column('height', type::float) new column('height', type::float)
) )
->connect(__DIR__ . DIRECTORY_SEPARATOR . 'database.ba'); ->connect(__DIR__ . DIRECTORY_SEPARATOR . 'database.ba');
// Initializing the record // Initializing the record
$record = $database->record( $record = $database->record(
'Arsen', 'Arsen',
'Mirzaev', 'Mirzaev',
23, 23,
(float) 165 (float) 165
); );
if ($database->write($record)) { if ($database->write($record)) {