---
id: "_createknexdbprovider_"
title: "createKnexDbProvider"
sidebar_label: "createKnexDbProvider"
---

## Index

### Functions

* [createKnexDbProvider](_createknexdbprovider_.md#createknexdbprovider)

## Functions

###  createKnexDbProvider

▸ **createKnexDbProvider**(`db`: Knex): *(Anonymous function)*

*Defined in [createKnexDbProvider.ts:10](https://github.com/aerogear/graphback/blob/b39280e7/packages/graphback-runtime-knex/src/createKnexDbProvider.ts#L10)*

Creates a new KnexDBDataProvider

**Parameters:**

Name | Type | Description |
------ | ------ | ------ |
`db` | Knex | Knex database configuration object  |

**Returns:** *(Anonymous function)*
