🔍 Debug - Format des données Oracle

✅ Connexion réussie

📌 Configuration

CONNECTION_METHOD: rest
Extension OCI8 chargée: Non

📊 Test 1: COUNT sur INTERVIEW_QUESTIONS

SQL: SELECT COUNT(*) as CNT FROM INTERVIEW_QUESTIONS

Résultat complet:

Array
(
    [success] => 1
    [data] => Array
        (
            [0] => Array
                (
                    [cnt] => 5
                )

        )

    [rowCount] => 1
)

📝 Test 2: SELECT * (1 ligne)

SQL: SELECT ID, QUESTION_TEXT, IS_COMPLETED, SORT_ORDER FROM INTERVIEW_QUESTIONS WHERE ROWNUM <= 1

Résultat complet:

Array
(
    [success] => 1
    [data] => Array
        (
            [0] => Array
                (
                    [id] => 4
                    [question_text] => Qu'est-ce qu'une transaction et comment fonctionne COMMIT et ROLLBACK ?
                    [is_completed] => 0
                    [sort_order] => 4
                )

        )

    [rowCount] => 1
)

Clés disponibles dans le premier enregistrement:

Type: array
Clés: id, question_text, is_completed, sort_order

Détail des valeurs:
  [id] => 4
  [question_text] => 'Qu\'est-ce qu\'une transaction et comment fonctionne COMMIT et ROLLBACK ?'
  [is_completed] => 0
  [sort_order] => 4

📋 Test 3: Vérification tables USER_TABLES

SQL: SELECT TABLE_NAME FROM USER_TABLES WHERE TABLE_NAME IN ('INTERVIEW_QUESTIONS', 'INTERVIEW_NOTES')

Résultat complet:

Array
(
    [success] => 1
    [data] => Array
        (
            [0] => Array
                (
                    [table_name] => INTERVIEW_NOTES
                )

            [1] => Array
                (
                    [table_name] => INTERVIEW_QUESTIONS
                )

        )

    [rowCount] => 2
)