Thanks to visit codestin.com
Credit goes to github.com

Skip to content

griffio/sqldelight-postgres-json

Repository files navigation

SqlDelight 2.1.x Postgresql Json support

https://github.com/cashapp/sqldelight

Version: 2.1.0

Support JSON and JSONB column types and operations

String is the input and output type for the table API for JSON/JSONB columns

CREATE TABLE Recipes (
  id BIGINT GENERATED ALWAYS AS IDENTITY PRIMARY KEY,
  recipe JSONB NOT NULL,
  createdAt TIMESTAMPTZ NOT NULL DEFAULT NOW(),
  updatedAt TIMESTAMPTZ
);

Not supported


createdb recipes &&
./gradlew build &&
./gradlew flywayMigrate

Flyway db migrations https://documentation.red-gate.com/fd/gradle-task-184127407.html

About

sqldelight postgresql json support

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages