Commit graph

48 commits

Author SHA1 Message Date
houten11
595caaf661 Update go-sqlite3 driver to version v1.14.24 2024-10-18 12:06:01 +02:00
Samir Faci
dbd23ed612 Addressing code review comments 2024-10-15 10:52:28 -04:00
Samir Faci
f7082eda68 Adding gosec and lint, fixing null_type overflow
ChangeLog:
  - Adding gosec linting
  - Adding static type to enum
  - fixing nulltype overflow
  - Trying out gotestsum as an alternative to go-junit-report.xml
2024-10-14 11:06:59 -04:00
go-jet
f37af464f4
Merge pull request #340 from go-jet/dependabot/go_modules/github.com/go-sql-driver/mysql-1.8.1
Bump github.com/go-sql-driver/mysql from 1.8.0 to 1.8.1
2024-07-26 13:53:22 +02:00
dependabot[bot]
172a822d96
Bump github.com/shopspring/decimal from 1.3.1 to 1.4.0
Bumps [github.com/shopspring/decimal](https://github.com/shopspring/decimal) from 1.3.1 to 1.4.0.
- [Release notes](https://github.com/shopspring/decimal/releases)
- [Changelog](https://github.com/shopspring/decimal/blob/master/CHANGELOG.md)
- [Commits](https://github.com/shopspring/decimal/compare/v1.3.1...v1.4.0)

---
updated-dependencies:
- dependency-name: github.com/shopspring/decimal
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-12 21:16:21 +00:00
dependabot[bot]
523f780b02
Bump github.com/go-sql-driver/mysql from 1.8.0 to 1.8.1
Bumps [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/go-sql-driver/mysql/releases)
- [Changelog](https://github.com/go-sql-driver/mysql/blob/v1.8.1/CHANGELOG.md)
- [Commits](https://github.com/go-sql-driver/mysql/compare/v1.8.0...v1.8.1)

---
updated-dependencies:
- dependency-name: github.com/go-sql-driver/mysql
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-26 21:49:42 +00:00
go-jet
1fd423bf8b Update dependencies. 2024-03-24 13:25:08 +01:00
go-jet
c6fccc3348 Update dependencies. 2024-03-24 13:12:07 +01:00
dependabot[bot]
084f62a475
Bump golang.org/x/crypto from 0.6.0 to 0.17.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.6.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.6.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-26 10:52:25 +00:00
go-jet
7b9a60876e Lower go.mod version. 2024-02-26 11:35:54 +01:00
Sarkan
893567daca
Range types implemented
plus and minus infinity keyword tests implemented

range table tests added

skip cockroach db added

select test case added for range fields

generator modified to generate correct types

generator tests modified to include sample range table

model and template generators modified to support range fields

returning the T in UPPER and LOWER functions

raw ranges implemented

bounds set as optional

dep modified

dependencies modified and issue fixed

range expression with templates implemented

rangeExpression change to make it more type safe

third parameter of constructor function fixed

literals removed, functions added

tests modified

constructor functions used for creating range expressions

NumRange converted to a constructor function from literal

range_lower and range_upper renamed to lower_bound and upper_bound

range literal removed

PlusInfinity and MinusInfinity implemented

int4 and int8 castings added

issues fixed and tests checked

number, ts, tstz literal and cast implemented

date range literal expression modified and raw function used

parent type converted from RangeExpression to Expression

range type implemented for postgres

range column type, function and literal expression implemented

CONTAINS and OVERLAP operations added for range expressions

range expressions implemented
2024-02-25 01:20:36 +01:00
dependabot[bot]
12faa55c52
Bump github.com/google/uuid from 1.3.0 to 1.6.0
Bumps [github.com/google/uuid](https://github.com/google/uuid) from 1.3.0 to 1.6.0.
- [Release notes](https://github.com/google/uuid/releases)
- [Changelog](https://github.com/google/uuid/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/uuid/compare/v1.3.0...v1.6.0)

---
updated-dependencies:
- dependency-name: github.com/google/uuid
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-07 21:22:43 +00:00
go-jet
0fc51cf402
Merge pull request #230 from go-jet/dependabot/go_modules/github.com/go-sql-driver/mysql-1.7.1
Bump github.com/go-sql-driver/mysql from 1.7.0 to 1.7.1
2024-02-07 11:28:19 +01:00
go-jet
f5f744a884
Merge pull request #253 from go-jet/dependabot/go_modules/github.com/jackc/pgconn-1.14.1
Bump github.com/jackc/pgconn from 1.14.0 to 1.14.1
2024-02-07 11:27:49 +01:00
go-jet
2eaa75345c [sqlite] Generated columns additional tests. 2024-02-04 18:45:48 +01:00
Yosyp Buchma
f472becd89 simplified concurrent querying 2023-09-19 20:56:54 +03:00
dependabot[bot]
8bbfa2c290
Bump github.com/jackc/pgconn from 1.14.0 to 1.14.1
Bumps [github.com/jackc/pgconn](https://github.com/jackc/pgconn) from 1.14.0 to 1.14.1.
- [Changelog](https://github.com/jackc/pgconn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgconn/compare/v1.14.0...v1.14.1)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgconn
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-20 21:10:23 +00:00
dependabot[bot]
16258ee18b
Bump github.com/go-sql-driver/mysql from 1.7.0 to 1.7.1
Bumps [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/go-sql-driver/mysql/releases)
- [Changelog](https://github.com/go-sql-driver/mysql/blob/master/CHANGELOG.md)
- [Commits](https://github.com/go-sql-driver/mysql/compare/v1.7.0...v1.7.1)

---
updated-dependencies:
- dependency-name: github.com/go-sql-driver/mysql
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-25 21:59:33 +00:00
dependabot[bot]
a1bb6f2440
Bump github.com/lib/pq from 1.10.7 to 1.10.8
Bumps [github.com/lib/pq](https://github.com/lib/pq) from 1.10.7 to 1.10.8.
- [Release notes](https://github.com/lib/pq/releases)
- [Commits](https://github.com/lib/pq/compare/v1.10.7...v1.10.8)

---
updated-dependencies:
- dependency-name: github.com/lib/pq
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-14 21:59:30 +00:00
go-jet
b520a61b6e Test clean up.
Upgrade dependencies.
2023-04-06 11:26:09 +02:00
go-jet
31dc7b6dd3
Merge pull request #201 from go-jet/dependabot/go_modules/github.com/google/go-cmp-0.5.9
Bump github.com/google/go-cmp from 0.5.8 to 0.5.9
2023-02-10 22:38:58 +01:00
go-jet
ccf45b4fb5
Merge pull request #202 from go-jet/dependabot/go_modules/github.com/stretchr/testify-1.8.1
Bump github.com/stretchr/testify from 1.8.0 to 1.8.1
2023-02-03 17:58:52 +01:00
go-jet
ce3c622fa4
Merge pull request #207 from go-jet/dependabot/go_modules/github.com/lib/pq-1.10.7
Bump github.com/lib/pq from 1.10.5 to 1.10.7
2023-01-24 18:08:12 +01:00
dependabot[bot]
46c8bfcdce
Bump github.com/stretchr/testify from 1.8.0 to 1.8.1
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.0...v1.8.1)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-22 16:33:06 +00:00
dependabot[bot]
78e7e8904c
Bump github.com/google/go-cmp from 0.5.8 to 0.5.9
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.5.8 to 0.5.9.
- [Release notes](https://github.com/google/go-cmp/releases)
- [Commits](https://github.com/google/go-cmp/compare/v0.5.8...v0.5.9)

---
updated-dependencies:
- dependency-name: github.com/google/go-cmp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-22 16:32:57 +00:00
dependabot[bot]
32c12926f9
Bump github.com/lib/pq from 1.10.5 to 1.10.7
Bumps [github.com/lib/pq](https://github.com/lib/pq) from 1.10.5 to 1.10.7.
- [Release notes](https://github.com/lib/pq/releases)
- [Commits](https://github.com/lib/pq/compare/v1.10.5...v1.10.7)

---
updated-dependencies:
- dependency-name: github.com/lib/pq
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-17 21:08:30 +00:00
dependabot[bot]
fd6daeef70
Bump github.com/pkg/profile from 1.6.0 to 1.7.0
Bumps [github.com/pkg/profile](https://github.com/pkg/profile) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/pkg/profile/releases)
- [Commits](https://github.com/pkg/profile/compare/v1.6.0...v1.7.0)

---
updated-dependencies:
- dependency-name: github.com/pkg/profile
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-17 17:59:48 +00:00
go-jet
8be2f8b9c3 Update mysql driver to v1.7.0 2023-01-17 18:50:09 +01:00
go-jet
48b4725375 Update go-sqlite3 to version v1.14.16 2023-01-17 18:41:04 +01:00
dependabot[bot]
e197530036
Bump github.com/jackc/pgx/v4 from 4.16.0 to 4.17.2
Bumps [github.com/jackc/pgx/v4](https://github.com/jackc/pgx) from 4.16.0 to 4.17.2.
- [Release notes](https://github.com/jackc/pgx/releases)
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgx/compare/v4.16.0...v4.17.2)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v4
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-17 18:56:45 +00:00
go-jet
88f4935681
Merge pull request #156 from go-jet/dependabot/go_modules/github.com/google/uuid-1.3.0
Bump github.com/google/uuid from 1.1.1 to 1.3.0
2022-12-17 19:55:59 +01:00
Marco Ronchese
31cddca786 add additional test 2022-12-17 17:21:46 +01:00
dependabot[bot]
e7257ff5fa
Bump github.com/google/uuid from 1.1.1 to 1.3.0
Bumps [github.com/google/uuid](https://github.com/google/uuid) from 1.1.1 to 1.3.0.
- [Release notes](https://github.com/google/uuid/releases)
- [Commits](https://github.com/google/uuid/compare/v1.1.1...v1.3.0)

---
updated-dependencies:
- dependency-name: github.com/google/uuid
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-17 21:40:52 +00:00
go-jet
6706f4b228 [Bug] DebugSQL panics with libraries that do not implemente Stringer interface. 2022-05-14 11:17:39 +02:00
go-jet
7567206ac0 Update dependencies. 2022-05-13 14:49:11 +02:00
dependabot[bot]
632a663bad
Bump github.com/jackc/pgx/v4 from 4.11.0 to 4.16.0
Bumps [github.com/jackc/pgx/v4](https://github.com/jackc/pgx) from 4.11.0 to 4.16.0.
- [Release notes](https://github.com/jackc/pgx/releases)
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgx/compare/v4.11.0...v4.16.0)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v4
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-05 09:36:23 +00:00
go-jet
46ed317907
Merge pull request #134 from go-jet/dependabot/go_modules/github.com/lib/pq-1.10.5
Bump github.com/lib/pq from 1.7.0 to 1.10.5
2022-05-05 11:35:38 +02:00
dependabot[bot]
9ac8ebdb99
Bump github.com/lib/pq from 1.7.0 to 1.10.5
Bumps [github.com/lib/pq](https://github.com/lib/pq) from 1.7.0 to 1.10.5.
- [Release notes](https://github.com/lib/pq/releases)
- [Commits](https://github.com/lib/pq/compare/v1.7.0...v1.10.5)

---
updated-dependencies:
- dependency-name: github.com/lib/pq
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-10 09:43:48 +00:00
dependabot[bot]
192efa3436
Bump github.com/google/go-cmp from 0.5.0 to 0.5.7
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.5.0 to 0.5.7.
- [Release notes](https://github.com/google/go-cmp/releases)
- [Commits](https://github.com/google/go-cmp/compare/v0.5.0...v0.5.7)

---
updated-dependencies:
- dependency-name: github.com/google/go-cmp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-10 09:43:26 +00:00
go-jet
e8f4c2b31b Add SQLBuilder support for SQLite databases. 2021-10-21 13:40:26 +02:00
vetcher
5b7c34e333 Connection via DSN 2021-09-02 11:29:55 +02:00
go-jet
e95a2385ee Run postgres tests with pgx driver 2021-05-14 14:13:42 +02:00
go-jet
063b17ca05 Update lossless decimal tests to use new floats test table and DECIMAL literal constructor. 2021-05-09 16:37:16 +02:00
David Racine
08cc316101 fix insert of decimal by changing decimal library 2021-05-03 20:14:13 +02:00
go-jet
059515f52b QRM: Convert lossless decimal types first to string. 2021-05-03 20:14:13 +02:00
go-jet
2ada2ff69b Add go mod support. 2020-06-27 18:48:19 +02:00
go-jet
fdeef56d53 Remove go.mod support for now, because it requires breaking changes. 2020-06-03 08:36:03 +02:00
go-jet
aefa4a2ff6 Add go mod support. 2020-05-31 12:27:11 +02:00