QSql(3qt)

πŸ“¦ version 3.3.8b, in fedora 43, fedora 44

πŸ’– QSql πŸ’–

okay bestie, so this is QSql(3qt) β€” a manual page, but make it cute. it's a whole namespace situation and honestly it's giving "background character who's actually everywhere". let's get into it ✨


🌸 NAME 🌸

QSql β€” the namespace for Qt SQL identifiers that need to be global-like. yeah. that's the whole job. iconic.


πŸŽ€ SYNOPSIS πŸŽ€

#include <qsql.h>

✨ Public Members ✨

QSql ()
enum Op { None = -1, Insert = 0, Update = 1, Delete = 2 }
enum Location { BeforeFirst = -1, AfterLast = -2 }
enum Confirm { Cancel = -1, No = 0, Yes = 1 }
enum ParameterType { In = 1, Out = 2, InOut = 3 }
enum TableType { Tables = 0x01, SystemTables = 0x02, Views = 0x04,
    AllTables = 0xff }

like look at those enums. negative numbers where you least expect them. slay πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so QSql is a namespace for Qt SQL identifiers that need to be global-like. that's the vibe. it's the group chat everyone else got added to.

normally you can literally just ignore this class. several Qt SQL classes inherit it, so every identifier in the Qt SQL namespace is visible without qualification. no extra typing, no extra drama. you're welcome. 🫢

see also Database Classes β€” go look, bestie.

🌈 Member Type Documentation 🌈

QSql::Confirm

this enum type describes edit confirmations. the "are you SURE" of it all.

  • QSql::Yes
  • QSql::No
  • QSql::Cancel

QSql::Location

this enum type describes SQL navigation locations. where even ARE you.

  • QSql::BeforeFirst
  • QSql::AfterLast

QSql::Op

this enum type describes edit operations. the whole "what are we doing to this row" moment.

  • QSql::None
  • QSql::Insert
  • QSql::Update
  • QSql::Delete

QSql::ParameterType

this enum is used to set the type of a bind parameter. choosing your fighter fr fr.

  • QSql::In β€” the bind parameter is used to put data into the database
  • QSql::Out β€” the bind parameter is used to receive data from the database
  • QSql::InOut β€” the bind parameter is used to put data into the database; it will be overwritten with output data on executing a query. yes it does BOTH. multi-talented. main character energy πŸ‘‘

QSql::TableType

this enum type describes types of tables. table taxonomy, if you will.

  • QSql::Tables β€” All the tables visible to the user
  • QSql::SystemTables β€” Internal tables used by the DBMS
  • QSql::Views β€” All the views visible to the user
  • QSql::AllTables β€” All of the above. the everything bagel. πŸ₯―

πŸ’œ MEMBER FUNCTION DOCUMENTATION πŸ’œ

QSql::QSql ()

constructs a Qt SQL namespace class. that's it. that's the function. short king behavior. 😭


⭐ SEE ALSO ⭐


Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the license file included in the distribution for a complete license statement. gotta respect the paperwork bestie, it's legally binding and also a little bit of a mood.


🌸 AUTHOR 🌸

Generated automatically from the source code. no human author, just machine rizz. πŸ€–βœ¨


πŸ’€ BUGS πŸ’€

okay so if you find a bug in Qt, please report it as described in http://doc.trolltech.com/bughowto.html. Good bug reports help us to help you. Thank you. fr fr, good bug reports are a love language. 🫢

The definitive Qt documentation is provided in HTML format; it is located at $QTDIR/doc/html and can be read using Qt Assistant or with a web browser. This man page is provided as a convenience for those users who prefer man pages, although this format is not officially supported by Trolltech. so like, it's a bonus, not the official lore. noted.

If you find errors in this manual page, please report them to qt-bugs@trolltech.com. Please include the name of the manual page (qsql.3qt) and the Qt version (3.3.8). both of those. don't make them guess. iykyk.


and that's the whole page, bestie! this was generated by Trolltech AS on 2 February 2007, and it's talking about Qt version 3.3.8. periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from