Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@xata.io/kysely

Package Overview
Dependencies
Maintainers
3
Versions
1352
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xata.io/kysely - npm Package Compare versions

Comparing version 0.0.0-alpha.ve4dea1f to 0.0.0-alpha.ve540d44

18

CHANGELOG.md
# @xata.io/kysely
## 0.0.0-alpha.ve4dea1f
## 0.0.0-alpha.ve540d44

@@ -8,4 +8,18 @@ ### Patch Changes

- Updated dependencies []:
- @xata.io/client@0.0.0-alpha.ve4dea1f
- @xata.io/client@0.0.0-alpha.ve540d44
## 0.1.3
### Patch Changes
- Updated dependencies [[`4910dce2`](https://github.com/xataio/client-ts/commit/4910dce29d3cc17d13aadf32e4eb476ffb571fad)]:
- @xata.io/client@0.26.3
## 0.1.2
### Patch Changes
- Updated dependencies [[`22fccb51`](https://github.com/xataio/client-ts/commit/22fccb51709749c319897702c15749b74ce4b820)]:
- @xata.io/client@0.26.2
## 0.1.1

@@ -12,0 +26,0 @@

4

package.json
{
"name": "@xata.io/kysely",
"version": "0.0.0-alpha.ve4dea1f",
"version": "0.0.0-alpha.ve540d44",
"description": "",

@@ -21,3 +21,3 @@ "main": "./dist/index.cjs",

"dependencies": {
"@xata.io/client": "0.0.0-alpha.ve4dea1f"
"@xata.io/client": "0.0.0-alpha.ve540d44"
},

@@ -24,0 +24,0 @@ "devDependencies": {

@@ -26,9 +26,14 @@ # @xata.io/kysely

import { Kysely } from 'kysely';
import { XataDialect } from '@xata.io/kysely';
import { XataDialect, Model } from '@xata.io/kysely';
import { DatabaseSchema, getXataClient } from './xata.ts';
const db = new Kysely<Database>({
xata // Your Xata client instance
const xata = getXataClient();
const db = new Kysely<Model<DatabaseSchema>>({
dialect: new XataDialect({ xata })
});
const drivers = await db.selectFrom('users').select(['name', 'email']).execute();
```
`XataDialect` accepts your Xata client instance as its only option. You can find more information about creating a Xata client instance in our [getting started guide](https://xata.io/docs/getting-started/installation).

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc