# Neo4J

### Unwrapping Results

You can optionally choose to unwrap the results received from your Cypher query and strip any alias prefixes to fields.&#x20;

Examples of the differences between default and unwrapped results are shown below for the following query:

```
MATCH (nineties:Movie) 
WHERE nineties.released >= 1990 AND nineties.released < 2000 
RETURN nineties.title, nineties.tagline
```

{% hint style="info" %}
Unwrapping occurs **prior** to any transforms you have defined.
{% endhint %}

{% tabs %}
{% tab title="Default" %}

```javascript
[
  {
    keys: [ 'nineties.title', 'nineties.tagline' ],
    length: 2,
    _fields: [ 'The Matrix', 'Welcome to the Real World' ],
    _fieldLookup: { 'nineties.title': 0, 'nineties.tagline': 1 }
  },
  {
    keys: [ 'nineties.title', 'nineties.tagline' ],
    length: 2,
    _fields: [ "The Devil's Advocate", 'Evil has its winning ways' ],
    _fieldLookup: { 'nineties.title': 0, 'nineties.tagline': 1 }
  },
  {
    keys: [ 'nineties.title', 'nineties.tagline' ],
    length: 2,
    _fields: [
      'A Few Good Men',
      "In the heart of the nation's capital, in a courthouse of the U.S. government, one man will stop at nothing to keep his honor, and one will stop at nothing to find the truth."
    ],
    _fieldLookup: { 'nineties.title': 0, 'nineties.tagline': 1 }
  },
  {
    keys: [ 'nineties.title', 'nineties.tagline' ],
    length: 2,
    _fields: [
      'As Good as It Gets',
      'A comedy from the heart that goes for the throat.'
    ],
    _fieldLookup: { 'nineties.title': 0, 'nineties.tagline': 1 }
  },
  {
    keys: [ 'nineties.title', 'nineties.tagline' ],
    length: 2,
    _fields: [
      'What Dreams May Come',
      'After life there is more. The end is just the beginning.'
    ],
    _fieldLookup: { 'nineties.title': 0, 'nineties.tagline': 1 }
  }
]
```

{% endtab %}

{% tab title="Unwrapped (Not Stripped)" %}

```javascript
[
  {
    'nineties.title': 'The Matrix',
    'nineties.tagline': 'Welcome to the Real World'
  },
  {
    'nineties.title': "The Devil's Advocate",
    'nineties.tagline': 'Evil has its winning ways'
  },
  {
    'nineties.title': 'A Few Good Men',
    'nineties.tagline': "In the heart of the nation's capital, in a courthouse of the U.S. government, one man will stop at nothing to keep his honor, and one will stop at nothing to find the truth."
  },
  {
    'nineties.title': 'As Good as It Gets',
    'nineties.tagline': 'A comedy from the heart that goes for the throat.'
  },
  {
    'nineties.title': 'What Dreams May Come',
    'nineties.tagline': 'After life there is more. The end is just the beginning.'
  }
]
```

{% endtab %}

{% tab title="Unwrapped (Stripped)" %}

```javascript
[
  { 
    title: 'The Matrix', 
    tagline: 'Welcome to the Real World' 
  },
  { 
    title: "The Devil's Advocate", 
    tagline: 'Evil has its winning ways' 
  },
  {
    title: 'A Few Good Men',
    tagline: "In the heart of the nation's capital, in a courthouse of the U.S. government, one man will stop at nothing to keep his honor, and one will stop at nothing to find the truth."
  },
  {
    title: 'As Good as It Gets',
    tagline: 'A comedy from the heart that goes for the throat.'
  },
  {
    title: 'What Dreams May Come',
    tagline: 'After life there is more. The end is just the beginning.'
  }
]
```

{% endtab %}
{% endtabs %}
