# ORMFlush()

Flushes the current ORM session. ORMFlush flushes all the pending CRUD operations in that request.

Any changes made in the objects, in the current ORM session, are saved to the database.

```
ORMFlush( datasource=string );
```

**Returns:** void

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| datasource | string | No | datasource used for the session, if nor defined the datasource defined in application.cfc/cfapplication is used. |  |

# Examples

*There are currently no examples for this function.*







# Categories

[ORM](../../categories/orm.md)