Obsolete Members for QSqlQuery

以下成员源于类 QSqlQuery 被弃用。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。

公共函数

(deprecated) QSqlQuery (const QSqlQuery & other )
(deprecated) QSqlQuery & operator= (const QSqlQuery & other )

成员函数文档编制

QSqlQuery:: QSqlQuery (const QSqlQuery & other )

This function is deprecated. We strongly advise against using it in new code.

构造副本为 other .

QSqlQuery cannot be meaningfully copied. Prepared statements, bound values and so on will not work correctly, depending on your database driver (for instance, changing the copy will affect the original). Treat QSqlQuery as a move-only type instead.

QSqlQuery &QSqlQuery:: operator= (const QSqlQuery & other )

This function is deprecated. We strongly advise against using it in new code.

赋值 other 到此对象。

QSqlQuery cannot be meaningfully copied. Prepared statements, bound values and so on will not work correctly, depending on your database driver (for instance, changing the copy will affect the original). Treat QSqlQuery as a move-only type instead.