---
title: "Type Alias ActionResultForSql"
url: "https://www.metabase.com/docs/latest/embedding/sdk/api/ActionResultForSql"
version: "65"
---

> For the complete documentation index, see [llms.txt](https://www.metabase.com/docs/llms.txt).

# Type Alias ActionResultForSql

```ts
type ActionResultForSql = {
  rows-affected: number;
};
```

Response from a custom SQL action — the affected row count.

## Properties

| Property                                   | Type     |
| :----------------------------------------- | :------- |
| `rows-affected` | `number` |
