Commit Graph

1176 Commits

Author SHA1 Message Date
Simon Binder b5cc9b974d
Release update to pub 2020-05-18 22:07:19 +02:00
Simon Binder ec1072dce8
Merge branch 'develop'
# Conflicts:
#	moor/CHANGELOG.md
#	moor/pubspec.yaml
#	moor/test/batch_test.dart
2020-05-18 21:16:43 +02:00
Simon Binder a2117c593c
Merge branch 'master' of gh:simolus3/moor 2020-05-18 21:13:49 +02:00
Simon Binder 65f02cb22c
Prepare 3.1 release of moor, 0.6 or moor_ffi, 0.9 of sqlparser 2020-05-18 20:45:48 +02:00
Simon Binder ba7fedb4c4
Fix generator tests that were failing due to a stronger assert 2020-05-17 20:26:21 +02:00
Simon Binder 52fd09c041
Fix reading a column without datatype 2020-05-17 15:18:25 +02:00
Simon Binder f8a516b51a
Use emitsThrough instead of emits 2020-05-17 15:08:24 +02:00
Simon Binder 63e0d61ccb
Fix resolving urls in common backend 2020-05-17 15:00:14 +02:00
Simon Binder 9bb83605e9
Don't crash when analyzing incomplete CREATE TABLE statement (#578) 2020-05-17 14:42:48 +02:00
Simon Binder 4d463dd145
Emit a warning if a project's language version is too low (#577) 2020-05-17 14:20:18 +02:00
Simon Binder 6b88385755
Rename test files to end with _test.dart 2020-05-16 19:49:00 +02:00
Simon Binder df32408a7c
Add destructive migration feature (#576) 2020-05-16 13:22:09 +02:00
Simon Binder 58c5e01052
Fix typo 2020-05-16 11:26:31 +02:00
Simon Binder 984052b36c
Add moor_db_viewer to FAQ 2020-05-16 11:19:58 +02:00
Simon Binder b57439cced
Add an example for using Value in Companion.insert docs 2020-05-14 15:40:52 +02:00
Simon Binder 5c3671b465
Fix booleans not working as expected in mapFromCompanion (#559) 2020-05-13 21:51:08 +02:00
Simon Binder cf830165e1
Support enum converters for moor files, add documentation 2020-05-13 21:43:58 +02:00
Simon Binder 7b9fa3d9ed
Simplify generation of enum type converters 2020-05-13 20:16:20 +02:00
Simon Binder 25ee06ab36
Don't attempt to close databases that have never been open (#560) 2020-05-13 11:12:17 +02:00
Simon Binder 0f2ff8c97a
Implicitly create type converters for enums, Dart api (#478) 2020-05-12 21:47:11 +02:00
Simon Binder 4611ecc3c8
moor_ffi: Workaround to load sqlite3 on old Android devices 2020-05-12 19:41:16 +02:00
Simon Binder 04f24d3184
Ignore broken offset calculation for autocomplete 2020-05-12 13:38:28 +02:00
Simon Binder 3dd682d522
Also log statements during migrations if desired 2020-05-12 13:38:02 +02:00
Simon Binder 254a54e9b6
Fix crash in analyzer plugin 2020-05-09 16:55:54 +02:00
Simon Binder 44bd89e47a
Don't throw when resolving types outside of the build analyzer
We still can't resolve the actual type, but at least we don't crash
now.
As we don't read the type of converters in the plugin or CLI, this
fixes #550
2020-05-08 21:43:36 +02:00
Simon Binder 0af49dd6df
Bring back the toCompanion method for data classes (#257) 2020-05-08 20:53:58 +02:00
Simon Binder e30bdd2acf
Support case sensitive contains (#527) 2020-05-07 18:59:12 +02:00
Simon Binder c8935b0518
Respect foreign key constraints for stream query propagation (#528) 2020-05-06 22:55:38 +02:00
Simon Binder 9841c960d1
Parse row values, warn on misuse 2020-05-06 21:08:47 +02:00
Simon Binder ab66a3befd
Support equals and hashCode in companions (#545) 2020-05-06 18:34:49 +02:00
Simon Binder 6f930b0115
Merge pull request #546 from TheLastGimbus/typo-fix
Fix typo in documentation
2020-05-06 10:32:07 +02:00
TheLastGimbus 0dff608ab8 I literally just fixed a typo in a GitHub repo...
I thought that this exists only in memes...

But, here you go. My nerd-instincs won't let this tiny iritating thing to exists.
So I fix it.

Change '!' to '|' - because at first I thought that '!' is for negation, and '|' is not supported, for some reason.
Let other nerds not have same mistake.
2020-05-06 00:54:13 +02:00
Simon Binder c9ba2c0237
Links dartdocs from documentation website 2020-05-05 18:53:24 +02:00
Simon Binder c5499eb6b5
Document that delete returns number of deleted rows (#544) 2020-05-05 18:46:13 +02:00
Simon Binder b2638ff21e
Escape column names in updates 2020-05-05 13:12:38 +02:00
Simon Binder 94fe04ee35
Remove orReplace parameter from example (#541) 2020-05-04 22:04:20 +02:00
Simon Binder 8b6abd7140
Move referenced table finder to sqlparser package (#537) 2020-05-04 22:00:41 +02:00
Simon Binder f336668c8a
Merge branch 'develop' of gh:simolus3/moor into develop 2020-05-04 20:15:47 +02:00
Simon Binder 79294e248a
Escape column names in updates 2020-05-04 20:15:23 +02:00
Simon Binder 348fb655ce
Update pubspec for the encrypted executor 2020-05-04 13:13:13 +02:00
Simon Binder 28a7451f1d
Merge pull request #536 from mqus/patch-1
Fix documentation source code issues
2020-05-04 12:16:53 +02:00
mqus 882b789c1b
Fix example source code issues
Just some typos
2020-05-03 22:29:30 +02:00
Simon Binder 3e70060ef1
Merge branch 'Mike278-map-from-row-or-null-without-prefix' 2020-05-03 21:21:07 +02:00
Simon Binder bb0461ccd2
Format, add to changelog 2020-05-03 21:20:52 +02:00
Simon Binder 1fdade7ac8
Merge branch 'map-from-row-or-null-without-prefix' of https://github.com/Mike278/moor into Mike278-map-from-row-or-null-without-prefix 2020-05-03 21:16:26 +02:00
Simon Binder bd250ee9e7
Support collate expression with new type inference (#533) 2020-05-03 21:13:29 +02:00
Mike278 7e3df823db Fix null table prefix 2020-05-03 13:00:28 -04:00
Simon Binder 7bfb2ab6d3
Update dartdoc links in documentation 2020-05-03 14:47:57 +02:00
Simon Binder 727c30aa6b
Release moor 3.0 and moor_ffi 0.5.0 2020-05-03 14:39:47 +02:00
Simon Binder 93ae15986a
Fix batches in moor_flutter 2020-05-03 14:24:25 +02:00