pg_classes can be loaded now, used in TablesTableModel for overview of tables in database.
This commit is contained in:
parent
43e6042794
commit
6466062cc8
23 changed files with 524 additions and 173 deletions
|
|
@ -70,6 +70,17 @@ Value::operator bool() const
|
|||
return std::strcmp(m_val, "t") == 0;
|
||||
}
|
||||
|
||||
Value::operator float() const
|
||||
{
|
||||
return std::stof(m_val);
|
||||
}
|
||||
|
||||
Value::operator double() const
|
||||
{
|
||||
return std::stod(m_val);
|
||||
}
|
||||
|
||||
|
||||
bool Value::isString() const
|
||||
{
|
||||
return m_typ == CHAROID
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue