Commit Graph

288 Commits

Author SHA1 Message Date
Simon Binder 9d9658248b
Add renameColumn method to migrator 2020-10-11 11:14:02 +02:00
Simon Binder 430ba5b175
More tests for new alterTable migration, reword docs 2020-09-25 12:34:46 +02:00
Simon Binder cb6a23fbeb
Docs: Add missing postcss dependency too 2020-09-24 20:01:04 +02:00
Simon Binder 0e9db5d2ea
Docs: Explain supported platforms 2020-09-24 19:50:00 +02:00
Simon Binder fd85987b48
docs: Update docsy and hugo 2020-09-24 19:15:22 +02:00
Simon Binder 0b8aa9b3dd
Also fix sqlite_schema usages in test 2020-09-24 18:43:04 +02:00
Simon Binder 3fdac823dd
More docs, tests for advanced migrations 2020-09-18 19:15:26 +02:00
Simon Binder a317bf253a
Begin with new api for complex table migrations 2020-09-04 13:13:26 +02:00
Simon Binder d6a321ca3c
Add generate_values_in_copy_with build option (#795) 2020-09-01 13:34:02 +02:00
Simon Binder 2ae2388878
Support default values for Dart placeholders (#753) 2020-08-30 13:48:47 +02:00
Simon Binder 0bc6f1368b
Add coalesce function (#780) 2020-08-21 20:59:55 +02:00
Simon Binder d0b13c43eb
Add groupConcat to Dart api (#763) 2020-08-15 09:53:50 +02:00
Simon Binder a2b28945d1
Add DatabaseConnection.delayed constructor 2020-08-13 21:09:26 +02:00
Simon Binder 0d88f209bb
Update documentation on queries in annotations 2020-08-05 18:49:11 +02:00
Simon Binder 167a267bb7
Merge branch 'master' into develop
# Conflicts:
#	extras/integration_tests/flutter_db/pubspec.lock
#	moor_ffi/CHANGELOG.md
#	moor_ffi/pubspec.yaml
2020-07-29 10:42:24 +02:00
Simon Binder 3215b7e571
Prepare 3.3.0 release 2020-07-28 22:30:04 +02:00
Egide Muhire 0d2512c510
Fix documentation typo / wording 2020-07-26 13:48:35 +02:00
Simon Binder c2ce934361
Apply type converters on variables (#730) 2020-07-23 17:30:26 +02:00
Simon Binder 28cfa957a6
Deprecate issueCustomStatement in favor of customStatement (#729) 2020-07-23 12:54:39 +02:00
Simon Binder ea9d72629f
Docs: Explain that sql mapping doesn't affect JSON (#718) 2020-07-20 18:56:21 +02:00
Simon Binder ebb7448d1b
Document how to use moor/ffi.dart 2020-07-18 18:08:38 +02:00
remove 220c9b48ba
Update faq.md
provider usage typo
2020-07-18 10:38:47 +08:00
Simon Binder e0ce093361
Explain @required in data classes (#548) 2020-07-13 15:14:45 +02:00
Simon Binder fa1e76f8f3
Option to get raw data in result sets (#615) 2020-07-09 17:38:46 +02:00
Simon Binder 6f0fa9cde1
Docs: Explain that any expression works as ordering term 2020-07-07 19:33:01 +02:00
Simon Binder 2332c58742
Override toString in result classes (#676) 2020-07-02 19:59:41 +02:00
Simon Binder 3923b815fd
Merge branch 'master' into develop
# Conflicts:
#	moor_generator/pubspec.yaml
2020-06-28 17:34:00 +02:00
Simon Binder ec8ee96f12
Fix code in intro to moor files documentation 2020-06-22 21:03:37 +02:00
Ilya Beregovskiy a169d7a884 Fix sql-wasm link 2020-06-19 16:44:31 +03:00
Ilya Beregovskiy 20137035be move docs links /kripken/sql.js ->/sql-js/sql.js 2020-06-19 16:28:14 +03:00
Simon Binder fff396cd7b
Docs: Note broken Flutter gradle setups and how to fix them 2020-06-13 12:30:01 +02:00
Simon Binder db3387736a
List supported column types in website (#624) 2020-06-11 18:37:14 +02:00
Simon Binder f6ab5f64a8
Option to generate mutable data classes (#551) 2020-06-02 22:26:59 +02:00
Simon Binder 571bae81f1
Document custom result class names 2020-05-21 20:52:58 +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 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 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 0af49dd6df
Bring back the toCompanion method for data classes (#257) 2020-05-08 20:53:58 +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 94fe04ee35
Remove orReplace parameter from example (#541) 2020-05-04 22:04:20 +02:00
Simon Binder 7bfb2ab6d3
Update dartdoc links in documentation 2020-05-03 14:47:57 +02:00
Simon Binder 0a30b8a12e
Upgrade integration tests, release sqlparser 0.8 2020-05-03 13:28:34 +02:00
Simon Binder d1b9a4125c
Improve instructions to install sqlite on windows (#525) 2020-05-01 22:11:34 +02:00
Simon Binder 10e8af433c
Explain that filter isn't available everywhere 2020-05-01 13:55:49 +02:00
Simon Binder 195eb0b39b
Small docs improvements 2020-04-30 21:28:42 +02:00
Simon Binder 572efd31ff
Document how to safely share MoorIsolates 2020-04-25 17:48:28 +02:00
Simon Binder 1546f323b2
Merge branch 'master' into develop
# Conflicts:
#	docs/content/en/docs/Getting started/advanced_dart_tables.md
#	docs/content/en/docs/Using SQL/moor_files.md
#	extras/integration_tests/flutter_db/lib/moor_flutter.dart
#	moor/CHANGELOG.md
#	moor/lib/src/runtime/isolate/client.dart
#	moor/lib/src/runtime/isolate/server.dart
#	moor/pubspec.yaml
#	moor_ffi/test/database/database_test.dart
2020-04-25 12:44:01 +02:00
Simon Binder 4140090270
Document upserts 2020-04-25 12:23:37 +02:00
Simon Binder 66a68dd2c8
Typos and small wording improvement in moor file docs 2020-04-24 17:47:57 +02:00
Christopher Boumenot 2c4d17af82 add limit example 2020-04-22 19:55:13 -07:00
Christopher Boumenot 87ae54bad0 typos 2020-04-22 19:42:55 -07:00
Simon Binder a7ac6db55d
Support + and - operators on DateTime 2020-04-17 21:29:12 +02:00
Simon Binder 17cec08b95
Document how to use custom primary keys on Dart tables 2020-04-17 11:54:41 +02:00
Simon Binder 9a78604d98
Fix issues with new inference, enable it by default 2020-04-16 19:07:30 +02:00
Robin Braun 1672fbbfe8
typos 2020-04-16 11:52:28 +02:00
Simon Binder ddf916f53b
Use proper data class name in docs 2020-04-13 21:49:02 +02:00
Abdullah Hilson cfdb2f5cd2
doc: update example to include missing imports
`dart:io` is necessary for `File`
`moor.dart` is necessary for `LazyDatabase`
2020-04-13 13:46:11 +01:00
Simon Binder 516d2143f7
analyzeAngularTemplates is no longer needed 2020-04-06 19:24:49 +02:00
Simon Binder ba28211e21
Document nested results in moor files 2020-04-04 12:22:19 +02:00
Simon Binder cdd57f340d
Automatically migrate from local storage to IndexedDb 2020-03-23 13:36:08 +01:00
Simon Binder 5d6fcec438
Document how to use a moor beta/dev version on website 2020-03-21 12:11:56 +01:00
Simon Binder 8d9b0874b9
Add missing count example to docs 2020-03-16 12:01:11 +01:00
David d2c7fef604 Update docs regarding sqlcipher 2020-03-16 10:43:41 +01:00
Simon Binder 4ff3d438f8
Provider section in faq: builder -> creator 2020-03-13 11:52:17 +01:00
Simon Binder 0a09f3411c
Remove outdated warning for moor_ffi 2020-03-04 17:39:14 +01:00
Simon Binder c8f4f739e9
Support for REGEXP (#410) 2020-03-04 13:48:25 +01:00
Simon Binder 51ba217484
Improve docs on post-migration callbacks, typo 2020-03-03 22:25:09 +01:00
Simon Binder 11d5a78606
Document how to use the new moor_ffi functions 2020-02-19 12:45:15 +01:00
Simon Binder fa5411fb5d
Enable mathematical functions in moor_ffi (#397) 2020-02-18 22:14:30 +01:00
Simon Binder d43e227757
Make eager ast resolving behavior opt-in 2020-02-17 21:05:56 +01:00
Simon Binder d851a2b799
web docs: Add example to moor_shared (#382) 2020-02-12 19:18:15 +01:00
Simon Binder f58d869ae4
Merge branch 'master' into develop 2020-02-10 19:27:14 +01:00
Simon Binder b30c21e577
Mention non-shared builder in changelog 2020-02-08 20:43:57 +01:00
Simon Binder d44004e598
Explain how to use moor with built_value 2020-02-08 15:29:31 +01:00
Cristian Ramírez e5e8fbf628
Typo in _index.md 2020-02-05 15:20:01 -06:00
Simon Binder 01d48fa0d3
Merge branch 'master' into develop 2020-02-01 22:09:47 +01:00
Simon Binder d0a969e9cc
Merge branch 'master' of gh:simolus3/moor 2020-02-01 21:35:31 +01:00
Yaakov Shahak 862f7ede1c
wrong import 2020-01-31 09:34:31 +02:00
Simon Binder 68e2b716fe
Support stream queries in transactions (#365) 2020-01-30 22:08:18 +01:00
Simon Binder 7417fd00ff
Use precompiled binaries for moor_ffi 2020-01-29 12:07:35 +01:00
Simon Binder 4df07359f3
Use precompiled binaries for moor_ffi 2020-01-29 11:57:07 +01:00
Simon Binder 87f72380df
Merge branch 'master' into develop 2020-01-29 11:55:40 +01:00
Simon Binder 80ced55d32
Improve api for "group by" statements, documentation 2020-01-25 21:56:09 +01:00
Simon Binder 4685059b14
Documentation for type converters in moor files 2020-01-25 16:17:56 +01:00
Simon Binder e995553623
Docs: Explain that the NDK is required 2020-01-23 21:07:50 +01:00
Simon Binder 051519bc73
Docs: Update hugo and docsy 2020-01-22 21:04:09 +01:00
Simon Binder c6230e628f
Fix uri -> path resolution on Windows 2020-01-22 12:00:21 +01:00
Simon Binder 59134e42db
Merge branch 'master' into develop 2020-01-21 21:09:53 +01:00
Simon Binder d22592b88c
Explain how moor_ffi can work with existing databases 2020-01-20 17:06:33 +01:00
Simon Binder d0cb2eec37
Add analyze command to moor cli tool, documentation site 2020-01-16 23:10:05 +01:00
Simon Binder ddda6797e1
types: Analyze functions 2020-01-13 20:40:46 +01:00
Simon Binder a4c0237300
Fix errors in documentation (#336, #337) 2020-01-12 10:56:16 +01:00
Rody Davis 43316c1e47 Update moor_shared url (#330)
Update documentation to reflect the updated url

Co-authored-by: Simon Binder <oss@simonbinder.eu>
2020-01-09 21:11:30 +01:00
Simon Binder 2ae6fbc99b
Re-run build in moor_flutter/example, index in moor files 2020-01-09 18:07:25 +01:00
Yaakov Shahak d6e84a4bd0
fix type for docs 2020-01-07 16:04:11 +02:00
Dmytro Zaitsev fd97a91798
Fix code example for `Getting started with sql` doc 2020-01-05 21:45:47 +01:00
Simon Binder e9bd8a43aa
Merge branch 'master' into develop 2020-01-05 21:44:45 +01:00
Simon Binder 17a1a4f95c
Merge pull request #321 from DmitriyZaitsev/dz/fix-sql-example
Fix code example for `Getting started with sql` doc
2020-01-05 21:44:17 +01:00
Simon Binder 2f40e38484
Update relationships example to use extensions 2020-01-05 21:36:00 +01:00
Dmytro Zaitsev dcf7463c8c Fix code example for `Getting started with sql` doc 2020-01-05 22:16:07 +02:00
Simon Binder 70259c8f83
Build options to enable types2 inference 2020-01-04 22:29:21 +01:00
Simon Binder 0cdfc9a4ab
website: Update documentation on batches (#318) 2020-01-04 21:04:33 +01:00
Simon Binder 681ed5fbd1
website: Update documentation on batches (#318) 2020-01-04 20:48:55 +01:00
Simon Binder a7300ee9a8
Merge pull request #315 from vitaminwater/patch-2
Missing `.path` in _openConnection
2020-01-03 20:49:26 +01:00
Constantin Clauzel b602cbd88b
Missing `.path` in _openConnection 2020-01-03 19:33:22 +01:00
Constantin Clauzel b0310f8a19
Missing 's' in build.yaml
In example for sqlite_modules.
2020-01-03 19:30:31 +01:00
Simon Binder 22525b24c3
Documentation for new moor features 2019-12-30 19:06:58 +01:00
Simon Binder 6891d213cd
Docs: Recommend moor_ffi, explain isolates better 2019-12-23 15:04:08 +01:00
Simon Binder 496f23d7d1
Clarify when imports are needed 2019-12-17 20:24:55 +01:00
Simon Binder a8aa65e4c1
Improve some docs, abstract base plugin class 2019-12-17 12:05:09 +01:00
Simon Binder 8661e0a28a
Refactoring on the model classes in moor_generator 2019-12-14 21:43:04 +01:00
Simon Binder 6b776d47d7
Documentation for the json1 and fts5 extensions 2019-12-14 12:39:39 +01:00
Simon Binder 74ebb8a9ab
Ability to create fts5 tables in moor files (#196) 2019-12-10 20:24:08 +01:00
Simon Binder 47fc402019
Docs: Recommend disabling analysis for .g.dart files 2019-12-04 11:18:28 +01:00
Simon Binder 6b2480f10c
moor_ffi: Performance improvements for sqlite3 on Android 2019-11-27 18:54:05 +01:00
Simon Binder a17448683e
Add documentation for custom select expressions 2019-11-16 21:30:48 +01:00
Simon Binder 598fef750e
RELEASE
- moor 2.1.0
- moor_generator 2.1.0
- sqlparser 0.4.0
- moor_ffi 0.2.0
2019-11-16 11:23:11 +01:00
Simon Binder 3bd2a221a4
Merge branch 'master' into develop 2019-11-16 10:00:31 +01:00
Aaron Wolfe 522a1ced91
Fix typo: now to know
While reading through the documentation, I noticed this typo where you meant to use the word `know` instead of `now`.
2019-11-15 06:29:57 -06:00
Simon Binder e83464df28
Prepare 2.1.0 release 2019-11-13 21:14:38 +01:00
Simon Binder bc3910cd86
Collect coverage for the MoorIsolate tests 2019-11-13 18:35:48 +01:00
Simon Binder 85fa0d4764
Update docs to reflect the new extension-based API 2019-11-09 21:16:24 +01:00
Simon Binder 44cb7c0503
Documentation for the isolate executor 2019-11-05 21:19:52 +01:00
Simon Binder b0a9255a07
Update documentation on migrations 2019-11-03 20:22:47 +01:00
Simon Binder 71ef36ff83
Explain how to install sqlite for moor_ffi unit tests 2019-10-28 20:42:02 +01:00
Simon Binder ceed461a06
Update documentation on migrations 2019-10-27 16:52:46 +01:00
Simon Binder 603f9c0eb5
Update gitter links to new room 2019-10-25 16:22:12 +02:00
Simon Binder 34c9908552
Write basic guide on unit testing with moor 2019-10-20 13:45:54 +02:00
Simon Binder 263004fe7b
Option to use the column name as json key in moor files
Closes #176
2019-10-17 21:44:20 +02:00
Simon Binder 95f37575f8
Optionally use data class name for companions
Closes #185
2019-10-16 21:33:13 +02:00
Simon Binder 4c090af98c
Ability to override json keys in moor files (#176) 2019-10-14 19:59:52 +02:00
Simon Binder 718af051ff
Optionally disable verification code (#173) 2019-10-05 21:41:20 +02:00
Simon Binder ed03bff4c2
Recognize boolean and datetime column in moor 2019-10-05 21:24:41 +02:00
Simon Binder 7cae79d76b
Document how to debug the plugin, prepare 2.0 release 2019-10-01 17:58:17 +02:00
Simon Binder 742cec4d0e
More guides for moor 2.0 2019-10-01 12:07:25 +02:00
Simon Binder a6cfc5fdd8
Better types for nested expressions, more 2.0 docs 2019-09-26 22:46:19 +02:00
Simon Binder fb68dc0888
Introduce option to generate less query code 2019-09-25 20:01:16 +02:00
Simon Binder 22dee72680
Bump sqflite dependency, integration test for array args 2019-09-21 13:20:19 +02:00
Simon Binder 7d962a1f01
Fix typo in new override flag 2019-09-20 19:36:09 +02:00
Simon Binder 161f7c0203
Optionally override hashCode and equals in result sets 2019-09-20 19:31:36 +02:00
Simon Binder 448ff10823
Start documenting moor 2.0 features 2019-09-20 19:29:26 +02:00
Simon Binder 1d7b4d01fe
Add documentation on Dart expressions 2019-09-14 10:15:09 +02:00
Simon Binder e9225cf759
Always generate private watch methods 2019-09-13 21:11:17 +02:00
Simon Binder 6a046ec408
Explain why companions exist in the documentation 2019-08-29 13:54:38 +02:00
Simon Binder 2b40272774
Explain how tables and columns are named in the docs 2019-08-24 19:04:00 +02:00
Simon Binder fc2d98e07f
Document how to use the builder options 2019-08-19 20:02:57 +02:00