---
name: "DB.incExecPrepared"
section: "3kaya"
platform: "linux"
package: "kaya"
version: "0.4.4-6.2"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/DB.incExecPrepared"
---

# DB.incExecPrepared(3kaya)

Incrementally execute a prepared statement

## NAME

DB::incExecPrepared - Incrementally execute a prepared statement

## SYNOPSIS

**DBIncResult\<a\> incExecPrepared(** *DBStatement\<a\>  statement, \[Maybe\<String\> \] params* **)**

## ARGUMENTS

**statement** The prepared database statement

**params** A list of parameters to be inserted into the query. An Exception may be thrown if the number of parameters does not match the expected number. **nothing**  should be used for parameters that are to be replaced by **NULL**

## DESCRIPTION

Incrementally execute a prepared statement, replacing parameters as specified. A single prepared statement may be used by multiple **incExecPrepared**  functions, which increases efficiency.

## AUTHORS

Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/

## LICENSE

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.

## RELATED

**DB.DBIncResult (3kaya)**

**DB.DBStatement (3kaya)**

**DB.exec (3kaya)**

**DB.execPrepared (3kaya)**

**DB.prepare (3kaya)**
