Commit Graph

344 Commits

Author SHA1 Message Date
micimize 7f83898d00
normalize example methods based on docs elsewhere 2021-04-04 11:13:10 -05:00
Michael Joseph Rosenthal eb0c5da412
Merge branch 'develop' into single_selectable 2021-04-04 11:04:34 -05:00
micimize bb38169803
Selectable refinement: add docs, explanations, and examples 2021-04-04 11:02:49 -05:00
micimize 720929e38e
fix path_provider dead link 2021-04-02 21:58:07 -05:00
Simon Binder 24f77bafa1
Fix link to path_provider 2021-03-29 22:43:37 +02:00
Simon Binder 15c6140925
Set template on moor ffi docs 2021-03-23 09:06:13 +01:00
Simon Binder 3be88813d6
Bring back 404 page 2021-03-19 21:11:12 +01:00
Simon Binder 5efe93e34c
Fix getting started and CLI url 2021-03-19 20:44:35 +01:00
Simon Binder f76044989e
Adopt minimum SDK version, fix docs on mobile 2021-03-19 20:35:08 +01:00
Simon Binder 613c7944c8
Generator option for target sqlite version 2021-03-16 21:45:21 +01:00
Simon Binder 06ba6e1f2e
Fix more dead links 2021-03-13 23:51:31 +01:00
Simon Binder 21bfb84b31
Replace some outdated links 2021-03-13 23:43:01 +01:00
Simon Binder cf9ea89681
moor_generator: Support the math extension 2021-03-13 14:56:06 +01:00
Simon Binder 0d378b0478
Add site environment for previews 2021-03-12 23:16:48 +01:00
Simon Binder cdb188dc5f
Document how to delete columns 2021-03-12 22:48:28 +01:00
Simon Binder ba95127cab
Use build_runner to generate documentation 2021-03-12 21:14:45 +01:00
Simon Binder 244a50f0da
Merge remote-tracking branch 'origin/master' into develop 2021-02-20 22:08:01 +01:00
Simon Binder 2a26253bd2
More docs on remote databases 2021-02-20 11:22:56 +01:00
Simon Binder 6342dd56a9
Document subqueries 2021-02-20 11:01:20 +01:00
Simon Binder b8b72a1570
Improve docs on encryption 2021-02-15 19:57:53 +01:00
Hossein Yousefi c575a8f9f1 updating docs 2021-02-12 05:28:31 +01:00
lsaudon 0b0d48c9ae
Fix typo fom -> from 2021-02-08 15:50:27 +01:00
Simon Binder 20d9cdf0fd
Add web worker example 2021-01-31 21:50:12 +01:00
Simon Binder 4394dceffc
Improve docs related to builders and alternatives 2021-01-26 20:47:27 +01:00
Simon Binder 4ba12c4868
Strip whitespace and comments from generated queries 2021-01-23 21:03:03 +01:00
Simon Binder 2da9175a27
Add example on existing databases 2021-01-23 17:21:47 +01:00
Simon Binder 7c26ed97c2
Mention explicitly-indexed variables 2021-01-21 20:22:05 +01:00
Simon Binder 2e2d1b4e6d
Document custom sql statements with variables 2021-01-20 21:51:48 +01:00
Simon Binder 4ffe29fe17
Mention readRowOrNull in docs and exception 2021-01-18 19:19:39 +01:00
Simon Binder 64fd91d2a8
Merge branch 'master' into develop 2021-01-11 19:57:04 +01:00
lsaudon 784bcdb137
Replace moor_migrations by moor_schemas 2021-01-06 10:43:46 +01:00
CDDelta 13fcc75b1c fallback indexedDbIfSupported in private mode on FF 2020-12-22 20:44:17 +11:00
Cervon Wong c8877f3d4f
Update writing_queries.md to fix grammar
Sounded weird.
2020-12-20 11:38:05 +08:00
Cervon Wong f6f17de702
Update testing.md to make Windows testing docs clearer
I got errors before realizing that I needed to restart my device.
2020-12-18 11:12:35 +08:00
Simon Binder 6aa022e547
Add nullability hints, generate nullable variables 2020-12-14 18:35:19 +01:00
Simon Binder 5eda201749
Remove legacy type inference 2020-12-12 19:55:43 +01:00
victorcatn 6fb0d6f500
add warning about the generated compare method 2020-12-12 00:23:24 -05:00
Cervon Wong 824de72019
Update advanced_dart_tables.md to fix typo
Colum -> Column
2020-12-01 13:24:27 +08:00
Cervon Wong 7ca7e9568e
Update web.md to fix spelling
IndexeDb -> IndexedDb
2020-11-30 18:13:54 +08:00
Le Stradic Paul 7891767784
Update platforms.md 2020-11-26 23:13:18 +01:00
Bill Yeh 7e20a49655
Fix typo: s/aller/all 2020-11-20 22:04:53 -08:00
Simon Binder f872152a75
Document comunity tools 2020-11-19 21:08:15 +01:00
Simon Binder a0821bd97a
Document logStatements parameter 2020-11-16 17:23:03 +01:00
Simon Binder b2ef4ddbcf
Optionally generate named parameters (#918) 2020-11-16 17:03:22 +01:00
Simon Binder 0c1909b2f0
Improve docs for Dart in SQL (#915) 2020-11-14 17:49:10 +01:00
Simon Binder 6c913a4811
Support raw statements in migration tests (#909) 2020-11-14 12:26:01 +01:00
Eugeny Sampir bf69b3cac1
Update writing_queries.md 2020-11-09 20:59:04 +03:00
Simon Binder cc464c46d6
Document how to use an encrypted version of moor ffi 2020-11-08 17:18:36 +01:00
bdlind f2f402d639 Update command and sample code to reflect folder names in the descriptions
vs code's auto-fix linting
2020-11-06 11:03:51 -06:00
Simon Binder 9d8ace37fb
Fix custom open example 2020-11-05 11:27:03 +01:00
Dhiman Seal 51283c8f3c
Fixed typo. j doesn't exist. The variable is p.
The path library has been imported as p not j.
2020-11-04 13:11:34 +05:30
Simon Binder 53b48ac1f1
List Android gotchas for ffi implementations 2020-11-03 18:45:38 +01:00
Simon Binder bbde479479
Merge branch 'verify-migrations' into develop 2020-10-16 17:17:53 +02:00
Simon Binder a4df55029c
Fix typo in moor files documentation 2020-10-15 09:55:59 +02:00
Simon Binder 10620cf738
Start writing docs for schema migrations 2020-10-14 22:01:36 +02:00
Simon Binder 3470d0485a
Add current_time_millis SQL function (#857) 2020-10-11 11:25:21 +02:00
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