Commit Graph
94 Commits
Author SHA1 Message Date
westito 40554c8166 Merge remote-tracking branch 'simolus3/develop' into fix-lint-warning 2022-08-08 11:30:57 +02:00
westito e65c4d15d0 Regenerate database files 2022-08-08 11:30:47 +02:00
westito 940ecd2ec4 Merge remote-tracking branch 'simolus3/develop' into fix-toColumns-null-check 2022-08-08 11:18:49 +02:00
westito ea5cb2e85f Regenerate databases 2022-08-08 11:14:50 +02:00
westito 936656b6cc Add docker test 2022-08-08 10:26:51 +02:00
westito 26333eafb5 Fix lint warnings when strict type check enabled 2022-08-01 12:15:42 +02:00
westito 4bb36488e1 Remove null check when parameter is not nullable in dart 2022-08-01 12:03:43 +02:00
westito 2728ac8e30 Remove deleting .dart_tool when run local tests 2022-07-02 18:01:37 +02:00
westito 56cb4c8926 Merge branch 'change-integration-tests-dialect' of github.com:simolus3/drift into change-integration-tests-dialect 2022-07-02 08:32:15 +02:00
westito 27f1305844 Update ios, macos projects 2022-07-02 08:31:17 +02:00
westito 5c4e5e571e Revert dialect changes 2022-07-02 08:30:29 +02:00
westito 735402e384 Enable postgres integration testing 2022-06-30 19:06:56 +02:00
westito 02ad0e8250 Change integration tests' dialect to postgres 2022-06-30 19:04:55 +02:00
westito aa1d279b8e Update build config in testcases 2022-06-28 15:06:49 +02:00
westito ef30349bc6 Fix CI errors 2022-06-28 14:01:54 +02:00
westito 292da80167 Regenerate all files 2022-06-28 13:24:57 +02:00
westito 769de1dfe2 Fix web_worker_example build fail 2022-06-28 08:58:24 +02:00
westito a816c1aac2 Fix typeconverter-depend nullability in DataClass copyWidth 2022-05-30 13:25:18 +02:00
westito 0a37736d1b Add filesystem handling to Drift 2022-05-22 18:04:02 +02:00
westito 0af392d63f Add synchronised persistence to WasmDatabase 2022-05-21 17:58:54 +02:00
westito 2cbfe76dc7 Remove leftover bigint parameters 2022-05-16 16:29:12 +02:00
westito 0dac014997 Fix tests for BigInt 2022-05-15 11:17:35 +02:00
westito 75892dbc55 Modify BigInt aggreg/algebra to wrap int functions 2022-05-15 10:05:07 +02:00
westito d413243a57 Fix sql.js useBigInt param, change arg process from maping to list literal 2022-05-15 09:48:18 +02:00
westito ef4f1d17f4 Add BigInt-int convert to IntType 2022-05-15 09:42:42 +02:00
westito f72f14f3a5 Add BigInt aggregations, arithemtics and tests 2022-05-12 23:09:04 +02:00
westito 2cfd2b41a3 Fix test (Dart 2.17) 2022-05-12 22:02:58 +02:00
westito ff4bc9be18 Fix drift_dev lint issue 2022-05-12 21:48:51 +02:00
westito 3ffa7f74b7 Fix Dart 2.17.0 lint 2022-05-12 21:48:22 +02:00
westito 6c439a3a0f Fix tests 2022-05-12 21:30:37 +02:00
westito f379ca0b25 Fix dialect properties 2022-05-12 21:10:40 +02:00
westito 763c09c024 Add range check to WebDatabase BigInt 2022-05-12 20:56:16 +02:00
westito 7330cf5d58 Add BigInt support to executors 2022-05-12 17:57:56 +02:00
westito 2b4bcc9864 Add BigInt support 2022-05-11 18:51:45 +02:00
westito 835403c9c3 Update SQLite version 2022-04-02 20:37:42 +02:00
westito ff1912fc07 Merge remote-tracking branch 'simolus3/develop' into unique-constraint
# Conflicts:
#	drift/lib/src/ffi/database.dart
2022-04-02 20:13:44 +02:00
westito c584b5ccfd Fix failed analyze and test codes 2022-04-02 20:12:57 +02:00
westito ec53328e49 Fix unique constraint tests 2022-04-02 20:12:13 +02:00
westito 171cf88aac Regenerate all test code 2022-04-02 20:11:40 +02:00
westito 4713dd1a68 Add forgotten code change to table writer 2022-04-02 20:10:48 +02:00
westito 0cf71b9477 Add unqiue constraints test 2022-04-02 20:09:04 +02:00
westito 8c8272b579 Change Column to GeneratedColumn in TableInfo uniqueKeys 2022-03-31 12:51:20 +02:00
westito 13d1ae0304 Make uniqueKey handle multiple keys 2022-03-28 16:29:01 +02:00
westito 5d4c5dea70 Add uniqueKey to table definition 2022-03-22 17:00:27 +01:00
westito 51d2328998 Add unique() to column builder 2022-03-22 15:21:37 +01:00
westito 9bcac38e98 Add tests for custom data class parent 2022-02-18 10:50:03 +01:00
westito e35a4028b5 Merge branch 'custom_parent_class' of github.com:westito/drift into custom_parent_class 2022-02-18 10:12:43 +01:00
westito d846655e1d Merge remote-tracking branch 'simolus3/develop' into custom_parent_class 2022-02-18 10:11:59 +01:00
westito d6692b13c2 Fix dynamic type check 2022-02-14 19:59:46 +01:00
westito 062b00d635 TypeConverter not existent type argument class workaround
(cherry picked from commit fe193e037bc51dc34d65507c8df6fba66759d54e)
2022-02-14 19:29:24 +01:00
westito 3872f14d2f Fix error message in parent class parse 2022-02-14 14:24:22 +01:00
westito bfc4921809 Allow dynamic as type parameter 2022-02-14 14:20:21 +01:00
westito affac25a77 Add view dsl as() expression parse error 2022-02-14 10:15:31 +01:00
westito 46ca0462bf Add type checks to parent class option 2022-02-14 10:03:46 +01:00
westito 4c2e74d5e0 Add generics to parent class option 2022-02-13 08:13:42 +01:00
westito afb5e8157c Add custom parent class option to generated data classes 2022-02-12 19:36:54 +01:00
westito aa929690b7 Modify cancellation test 2021-12-02 20:27:44 +01:00
westito 4fe95bc01a Fix view schema test 2021-12-02 20:24:46 +01:00
westito fb08707872 Revert ViewInfo generic bound 2021-12-02 20:24:34 +01:00
westito d22bbcbadf Merge remote-tracking branch 'simolus3/develop' into views 2021-12-02 09:20:02 +01:00
westito 9e753e7837 Merge branch 'views' of github.com:westito/drift into views 2021-12-02 09:19:47 +01:00
westito ffe24bb17a Fix includeJoinedTableColumns and add test 2021-12-02 09:04:17 +01:00
westito f383eef2ee Remove drop view 2021-12-02 08:54:59 +01:00
westito 37de03085c Modify cancellation switchMap test 2021-11-30 22:24:16 +01:00
westito 3e9a920a4f Regenerate files 2021-11-30 22:23:35 +01:00
westito 02ff9b8cdc Merge remote-tracking branch 'simolus3/develop' into views 2021-11-30 21:44:39 +01:00
westito bda374ff7e Add view schema test 2021-11-30 21:31:26 +01:00
westito 823e06494d Add drop view to migration 2021-11-30 21:27:19 +01:00
westito f3e9fe56da Fix parsing view references 2021-11-30 20:42:20 +01:00
westito 0e61940d70 add join useColumns option to selectOnly 2021-11-30 15:20:19 +01:00
westito 9e443dba2a Revert table declaration class 2021-11-30 14:06:13 +01:00
westito fc9c2d6171 Remove unnecessary import from virtual table test 2021-11-28 19:38:14 +01:00
westito b4b76c95bc Fix typo in virtual table unknown function test 2021-11-28 19:35:48 +01:00
westito 5d5518f2a4 Fix virtual table test 2021-11-28 19:33:31 +01:00
westito b5af3edf73 Remove unnecessary generics declaration 2021-11-28 19:29:17 +01:00
westito 254e33f5bb Check references only on Database 2021-11-28 17:48:44 +01:00
westito 203504de93 Override missing in generated code 2021-11-28 13:30:05 +01:00
westito 810d9f03a5 Modify DSL view to accept expression instead of column 2021-11-27 18:22:04 +01:00
westito a6bd75d780 fix post-merge issues 2021-11-26 14:15:54 +01:00
westito 72260196be Merge remote-tracking branch 'simolus3/develop' into views
# Conflicts:
#	drift_dev/lib/src/writer/tables/data_class_writer.dart
2021-11-26 14:10:10 +01:00
westito 9359defcac Add null aware type converters option 2021-11-24 23:49:13 +01:00
westito ea78584793 Merge remote-tracking branch 'simolus3/develop' into views 2021-11-24 19:06:31 +01:00
westito 47f0465795 Make Join accept bare Table type 2021-11-16 09:04:43 +01:00
westito 876f6850f5 Add dsl view generator 2021-11-15 00:15:53 +01:00
westito ea6dc02964 Refactor drift views 2021-11-13 12:27:07 +01:00
westito 649549a218 Add View DSL syntax 2021-11-12 22:20:50 +01:00
westito 70bcefdaf3 Rename View to ViewInfo 2021-11-12 19:38:45 +01:00
westito 0f7b604205 Add helper scripts 2021-10-25 12:07:51 +02:00
westito 40f4c1bd1f Rewrite toCompanion to insertable 2021-10-20 16:58:27 +02:00
westito a5e4a7851e Remove named function requirements, fix name matching, update test 2021-10-19 15:58:39 +02:00
westito 9b4f25718d Moved generateToCompanion option to ExistingRowClass 2021-10-19 09:30:57 +02:00
westito 59ec14d060 Fix line length in comments 2021-10-18 15:43:15 +02:00
westito b8fb002c41 Change toCompanion generator builder option to @UseRowClass parameter 2021-10-18 15:17:12 +02:00
westito 958302c253 Add custom row class toCompanion generator 2021-10-17 20:09:53 +02:00