sql_builder 0.0.1

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 48

SQL Query Builder for Dart #

Project license Pub package Dartdoc reference Travis CI build status

This is a Dart package that implements a fluent interface for constructing SQL queries using a programmatic domain-specific language instead of brittle string interpolation and concatenation.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  sql_builder: ^0.0.1

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter pub get

Alternatively, your editor might support pub get or flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:sql_builder/sql_builder.dart';
  
Version Uploaded Documentation Archive
0.0.1 Nov 25, 2018 Go to the documentation of sql_builder 0.0.1 Download sql_builder 0.0.1 archive
0.0.0 Nov 24, 2018 Go to the documentation of sql_builder 0.0.0 Download sql_builder 0.0.0 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
90
Overall:
Weighted score of the above. [more]
48
Learn more about scoring.

We analyzed this package on Jun 17, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.3.2
  • pana: 0.12.18

Platforms

Detected platforms: Flutter, web, other

No platform restriction found in primary library package:sql_builder/sql_builder.dart.

Health suggestions

Format lib/sql_builder.dart.

Run dartfmt to format lib/sql_builder.dart.

Format lib/src/select_query.dart.

Run dartfmt to format lib/src/select_query.dart.

Maintenance suggestions

Package is pre-v0.1 release. (-10 points)

While nothing is inherently wrong with versions of 0.0.*, it might mean that the author is still experimenting with the general direction of the API.

Maintain an example.

None of the files in the package's example/ directory matches known example patterns.

Common filename patterns include main.dart, example.dart, and sql_builder.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0 <3.0.0
Dev dependencies
test >=1.3.4 <2.0.0