.. _sqlite3result-cannot-be-directly-instantiated:
SQLite3Result cannot be directly instantiated
---------------------------------------------
.. meta::
:description:
SQLite3Result cannot be directly instantiated: ``Sqlite3Result`` is returned after executing a SQL query on a Sqlite3 database, with such method as ``query`` or ``execute``.
:og:image: https://php-errors.readthedocs.io/en/latest/_static/logo.png
:og:type: article
:og:title: SQLite3Result cannot be directly instantiated
:og:description: ``Sqlite3Result`` is returned after executing a SQL query on a Sqlite3 database, with such method as ``query`` or ``execute``
:og:url: https://php-errors.readthedocs.io/en/latest/messages/sqlite3result-cannot-be-directly-instantiated.html
:og:locale: en
:twitter:card: summary_large_image
:twitter:site: @exakat
:twitter:title: SQLite3Result cannot be directly instantiated
:twitter:description: SQLite3Result cannot be directly instantiated: ``Sqlite3Result`` is returned after executing a SQL query on a Sqlite3 database, with such method as ``query`` or ``execute``
:twitter:creator: @exakat
:twitter:image:src: https://php-errors.readthedocs.io/en/latest/_static/logo.png
.. raw:: html
Description
___________
``Sqlite3Result`` is returned after executing a SQL query on a Sqlite3 database, with such method as ``query`` or ``execute``.
Example
_______
.. code-block:: php
Solutions
_________
+ Call a valid query to obtain an object of that class.
Changed Behavior
________________
This error may appear following an evolution in behavior, in previous versions. See ` `_.