dint-dev / database Goto Github PK
View Code? Open in Web Editor NEWDart package for accessing databases.
License: Apache License 2.0
Dart package for accessing databases.
License: Apache License 2.0
Hi!
Is there any plan to oracle database support? It would be very useful since I found no Flutter package to this kind of need
Your Database package is very interesting and I'm experimenting with it. The Reach feature sounds like it could be very useful but there doesn't seem to be much explanation about how and where it works. Does it work on any, some or all of the supported database types? Could this be used to syncronise data between, for example, an Postgres database on a server and the client device? Thanks
Is there a way to convert the default response List to a custom json object, so we can run it though a custom serialized class?
List<Hit> _tmpData = List<Hit>();
Stream<QueryResult> tmp =
_algoliaDb.collection('airportData').searchIncrementally(
reach: Reach.server,
query: Query.parse(query),
);
tmp.listen(
(event) {
for (var item in event.items) {
final _tmp = json.encode(Hit.fromJson(item.data));
_tmpData.add(
Hit.fromJson(
json.decode(_tmp),
),
);
}
},
)
Currently I am doing it this way but, would be nice if there was an option within the package itself.
Hi,
I am trying to use the ElasticSearch adapter, but I can't seem to use the exists
keyword nor how to use field IN ['a', 'b']
.
I tried to dig the source code but couldn't find how to do it.
Can you share some examples please?
Hi!
This is a great library, thanks a lot!
But what about a pool for database connections? Like this one https://pub.dev/packages/postgresql2#connection-pooling
. Can this be supported ?
I am using this from flutter mobile and desktop but need to also call the server from Flutter Web
This example works..
Example of echo service
https://github.com/sigurdm/grpc_web_flutter_example
Requires envoy running the grpc gateway
will this plugin ever support mysql?
I'm getting this error:
And because database >=0.3.1 depends on universal_io >=0.8.6 <2.0.0, flutter_native_splash ^1.2.0 is incompatible with database >=0.3.1.
Because build_runner >=2.0.0 depends on code_builder ^4.0.0 and no versions of code_builder match >4.0.0 <5.0.0, build_runner >=2.0.0 requires code_builder 4.0.0.
And because code_builder 4.0.0 depends on built_value ^8.0.0 and every version of database depends on built_value >=5.0.0 <8.0.0, build_runner >=2.0.0 is incompatible with database.
here what is need update to:
built_collection: ^5.1.0
built_value: ^8.1.1
fixnum: ^1.0.0
protobuf: ^2.0.0
universal_html: ^2.0.8
universal_io: ^2.0.4
really please , I hope to get the news that this is null safety ~ ^__^~
please , please ~ give us to get the good news null safety !! please ~!
As the title mentioned, It would be awesome postgresql adapter would support web.
in Features it links to Dint, but it leads to a 404
Hi! Is there any plan for h2 database support? It would be very useful since I found no Flutter package for this kind of need.
First of all, thank you so much for making a good package.
However, there are many problems because this package is not supported by dependence and null safety, so do you have any separate update plans?
I'm sure you're very busy, but I'd like to ask you to update the dependence issue and your safety support.
I have a table
CREATE TABLE [tb_inventory] (
[uuid] BLOB(16) NOT NULL,
[title] VARCHAR(1024) NOT NULL,
[parent_inventory_uuid] BLOB(16) NULL,
[date_unix_created_at] INTEGER NOT NULL,
[date_unix_deleted_at] INTEGER NULL,
PRIMARY KEY ([uuid]),
FOREIGN KEY ([parent_inventory_uuid]) REFERENCES [tb_inventory] ([uuid])
)
My query
var iterator = await sqlClient
.query("SELECT [uuid], [title], [parent_inventory_uuid], [date_unix_created_at], [date_unix_deleted_at] FROM [tb_inventory]")
.getIterator();
print(iterator.columnDescriptions);
// expected output: [uuid, title, parent_inventory_uuid, date_unix_created_at, date_unix_deleted_at]
// actual output : [date_unix_created_at, date_unix_deleted_at, parent_inventory_uuid, title, uuid]
Looks like names are sorted.
My intension is: Use toRows() and access data by index.
dependencies:
flutter:
sdk: flutter
database: ^0.3.3
database_adapter_sqlite: ^0.1.0
Here's the URL, I've been waiting for 2 months
please new version sounds like " Null safety"
hi, is there any eta for CosmosDb support ?
This would allow us to easily convert an app between Firebase and other products.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.