Skip to content

No listFields() method in Postgre connection #151

Description

@Portaflex

Error: Call to undefined method CodeIgniter\Database\Postgre\Connection::listFields()

At BASEPATH/Database/BaseConnection.php at line 1263, method fieldExist() calls listFields() wich is absent

     * Determine if a particular field exists
     *
     * @param   string
     * @param   string
     * @return  bool
     */
    public function fieldExists($fieldName, $tableName)
    {
        return in_array($fieldName, $this->listFields($tableName));
    }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions