|
myTinySQL v0.2.0-2-g5000098
A tiny SQL interpreter over fixed-width text files
|
Implementation of TableFile: reading rows and writing them back safely. More...
#include "TableFile.hpp"#include <algorithm>#include <format>#include <fstream>#include "Util.hpp"Go to the source code of this file.
Functions | |
| void | tinysql::anonymous_namespace{TableFile.cpp}::checkFits (const Column &column, const std::string &value) |
| Checks that a value fits in its column. | |
| void | tinysql::anonymous_namespace{TableFile.cpp}::place (std::string &record, const Column &column, const std::string &value) |
| Writes a value into its column's characters of a row, padded with spaces to the column width. | |
Implementation of TableFile: reading rows and writing them back safely.
Definition in file TableFile.cpp.