Sqlite implementation for console Dart application -
i'm wanting test sqlite in dart, implementation find sam mccall on github, it's out of date. while effort bring up-to-date, i'm not familiar dart yet.
i read haven't been able confirm sqlite access provided in vm, non-html programs. quote read says "there may additional problems, because dart executable includes sqlite library, part of nss (network security services, mozilla), used implement secure sockets in dart:io.". said, i'm not sure if correct.
i want utilize sqlite "dart:html", , "dart.io" can't used "dart.html", using in console application start.
while dart provides indexed_db, don't see replacement sql. also, while database access may considered server-side requirement, there need on client (eg. when offline etc.).
there possible problem of conversion js, not concern of mine.
any help much-appreciated.
as ladislav mentions, cannot utilize sqlite dart:html, because browser-based apps can access browser platform provides.
websql sqlite. still exists, supported on mobile, spec dead. should work fine if that's want.
for command-line dart, may want check out sqljocky, mysql drivers dart command-line vm. check out here: https://github.com/jamesots/sqljocky
hope helps!
dart
No comments:
Post a Comment