> ## Documentation Index
> Fetch the complete documentation index at: https://docs.morph-data.io/llms.txt
> Use this file to discover all available pages before exploring further.

# @morph.load_data

By adding the `@morph.load_data` annotation, you can store the output result of the function in context.data and use it.

```python theme={"dark"}
@morph.load_data(
    name: str,
)
def func_name(context):
	# write your code here
```

## Parameters

<ParamField body="name" type="string" required>
  The output result of the function specified by name is stored in context.data
</ParamField>

## How to Use

```python theme={"dark"}
@morph.func
@morph.load_data("example_sql_cell")
def get_data_from_database(context):
	sql_result_df = context.data["example_sql_cell"]
    # write your code here using sql_result_df
	return sql_result_df
```
