sql_builder 0.0.1

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • new50

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 packages get

Alternatively, your editor might support pub get or flutter packages 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]
10
Health:
Code health derived from static analysis. [more]
90
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
90
Overall:
Weighted score of the above. [more]
50
Learn more about scoring.

We analyzed this package on Dec 5, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.1.0
  • pana: 0.12.7

Platforms

Detected platforms: Flutter, web, other

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

Health issues and suggestions

Document public APIs (-9.55 points)

21 out of 22 API elements (library, class, field or method) have no adequate dartdoc content. Good documentation improves code readability and discoverability through search.

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 there is nothing inherently wrong with versions of 0.0.*, it usually means that the author is still experimenting with the general direction of the API.

Maintain an example.

None of the files in your example/ directory matches a known example patterns. Common file name patterns include: main.dart, example.dart or you could also use sql_builder.dart. Packages with multiple examples should use example/readme.md.

Dependencies

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