Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Module « PySide6.QtSql »

Classe « QSqlQuery »

Informations générales

Héritage

builtins.object
    Object
        QSqlQuery

Définition

class QSqlQuery(Object):

Description [extrait de QSqlQuery.__doc__]

QSqlQuery(self, db: PySide6.QtSql.QSqlDatabase) -> None
QSqlQuery(self, other: PySide6.QtSql.QSqlQuery) -> None
QSqlQuery(self, query: str = '', db: PySide6.QtSql.QSqlDatabase = Default(QSqlDatabase)) -> None
QSqlQuery(self, r: PySide6.QtSql.QSqlResult) -> None

Constructeur(s)

Signature du constructeur Description
__new__(*args, **kwargs) Create and return a new object. See help(type) for accurate signature. [extrait de __new__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
ValuesAsColumnsPySide6.QtSql.QSqlQuery.BatchExecutionMode.ValuesAsColumns
ValuesAsRowsPySide6.QtSql.QSqlQuery.BatchExecutionMode.ValuesAsRows

Liste des opérateurs

Opérateurs hérités de la classe object

__eq__, __ge__, __gt__, __le__, __lt__, __ne__

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes dépréciées
Signature de la méthodeDescription
__copy__() -> None __copy__() -> None [extrait de __copy__.__doc__]
addBindValue(self, val: Any, type: PySide6.QtSql.QSql.ParamType = PySide6.QtSql.QSql.ParamTypeFlag.In) -> None addBindValue(self, val: Any, type: PySide6.QtSql.QSql.ParamType = PySide6.QtSql.QSql.ParamTypeFlag.In) -> None [extrait de addBindValue.__doc__]
at(self) -> int at(self) -> int [extrait de at.__doc__]
BatchExecutionMode
bindValue bindValue(self, placeholder: str, val: Any, type: PySide6.QtSql.QSql.ParamType = PySide6.QtSql.QSql.ParamTypeFlag.In) -> None [extrait de bindValue.__doc__]
boundValue boundValue(self, placeholder: str) -> Any [extrait de boundValue.__doc__]
boundValues(self) -> List[Any] boundValues(self) -> List[Any] [extrait de boundValues.__doc__]
clear(self) -> None clear(self) -> None [extrait de clear.__doc__]
driver(self) -> PySide6.QtSql.QSqlDriver driver(self) -> PySide6.QtSql.QSqlDriver [extrait de driver.__doc__]
exec exec(self) -> bool [extrait de exec.__doc__]
exec_ exec_(self) -> bool [extrait de exec_.__doc__]
execBatch(self, mode: PySide6.QtSql.QSqlQuery.BatchExecutionMode = PySide6.QtSql.QSqlQuery.BatchExecutionMode.ValuesAsRows) -> bool execBatch(self, mode: PySide6.QtSql.QSqlQuery.BatchExecutionMode = PySide6.QtSql.QSqlQuery.BatchExecutionMode.ValuesAsRows) -> bool [extrait de execBatch.__doc__]
executedQuery(self) -> str executedQuery(self) -> str [extrait de executedQuery.__doc__]
finish(self) -> None finish(self) -> None [extrait de finish.__doc__]
first(self) -> bool first(self) -> bool [extrait de first.__doc__]
isActive(self) -> bool isActive(self) -> bool [extrait de isActive.__doc__]
isForwardOnly(self) -> bool isForwardOnly(self) -> bool [extrait de isForwardOnly.__doc__]
isNull isNull(self, field: int) -> bool [extrait de isNull.__doc__]
isSelect(self) -> bool isSelect(self) -> bool [extrait de isSelect.__doc__]
isValid(self) -> bool isValid(self) -> bool [extrait de isValid.__doc__]
last(self) -> bool last(self) -> bool [extrait de last.__doc__]
lastError(self) -> PySide6.QtSql.QSqlError lastError(self) -> PySide6.QtSql.QSqlError [extrait de lastError.__doc__]
lastInsertId(self) -> Any lastInsertId(self) -> Any [extrait de lastInsertId.__doc__]
lastQuery(self) -> str lastQuery(self) -> str [extrait de lastQuery.__doc__]
next(self) -> bool next(self) -> bool [extrait de next.__doc__]
nextResult(self) -> bool nextResult(self) -> bool [extrait de nextResult.__doc__]
numericalPrecisionPolicy(self) -> PySide6.QtSql.QSql.NumericalPrecisionPolicy numericalPrecisionPolicy(self) -> PySide6.QtSql.QSql.NumericalPrecisionPolicy [extrait de numericalPrecisionPolicy.__doc__]
numRowsAffected(self) -> int numRowsAffected(self) -> int [extrait de numRowsAffected.__doc__]
prepare(self, query: str) -> bool prepare(self, query: str) -> bool [extrait de prepare.__doc__]
previous(self) -> bool previous(self) -> bool [extrait de previous.__doc__]
record(self) -> PySide6.QtSql.QSqlRecord record(self) -> PySide6.QtSql.QSqlRecord [extrait de record.__doc__]
result(self) -> PySide6.QtSql.QSqlResult result(self) -> PySide6.QtSql.QSqlResult [extrait de result.__doc__]
seek(self, i: int, relative: bool = False) -> bool seek(self, i: int, relative: bool = False) -> bool [extrait de seek.__doc__]
setForwardOnly(self, forward: bool) -> None setForwardOnly(self, forward: bool) -> None [extrait de setForwardOnly.__doc__]
setNumericalPrecisionPolicy(self, precisionPolicy: PySide6.QtSql.QSql.NumericalPrecisionPolicy) -> None setNumericalPrecisionPolicy(self, precisionPolicy: PySide6.QtSql.QSql.NumericalPrecisionPolicy) -> None [extrait de setNumericalPrecisionPolicy.__doc__]
size(self) -> int size(self) -> int [extrait de size.__doc__]
swap(self, other: PySide6.QtSql.QSqlQuery) -> None swap(self, other: PySide6.QtSql.QSqlQuery) -> None [extrait de swap.__doc__]
value value(self, i: int) -> Any [extrait de value.__doc__]

Méthodes héritées de la classe Object

__delattr__, __getattribute__, __init_subclass__, __setattr__, __subclasshook__

Méthodes héritées de la classe object

__dir__, __format__, __hash__, __reduce__, __reduce_ex__, __repr__, __sizeof__, __str__