<commit_before>dart-sqlite: SQLite bindings for the Dart VM
============================================

# Prerequisites
  * Dart source tree (strictly, you just need runtime/include/dart_api.h)
  * sqlite3-dev package
  * Linux, g++ toolchain. (I'm working on Mac/Windows)

# Building
    DART_SOURCES=~/pathto/dart ./build.sh

# Usage
    #import('lib/sqlite.dart');
    var c = new sqlite.Connection("/tmp/test.db");
    try {
    	// Simple queries and statements
        Row results = print(c.first("SELECT ?+2, UPPER(?)", [3, "Hello"]));
        var five = results[0];
        var shouting = results[1];

        // Iterating over a result set
		var count = c.execute("SELECT * FROM posts LIMIT 10", callback: (row) {
			print("${row.title}: ${row.body}");
		});
		print("Showing ${count} posts.");

		// Reusing prepared statements
		var statement = c.prepare("INSERT INTO posts (title, body) VALUES (?,?)");
		try {
			statement.execute(["Hi", "Hello world"]);
			statement.execute(["Byte", "Goodbye cruel world"]);
		} finally {
			statement.close();
		}
	} finally {
		c.close();
	}
    
# Documentation
Nope! Just poke around lib/sqlite.dart for now.

# Legal stuff
   Copyright 2012 Google Inc.

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.<commit_msg>fix formatting in license section of readme<commit_after>dart-sqlite: SQLite bindings for the Dart VM
============================================

# Prerequisites
  * Dart source tree (strictly, you just need runtime/include/dart_api.h)
  * sqlite3-dev package
  * Linux, g++ toolchain. (I'm working on Mac/Windows)

# Building
    DART_SOURCES=~/pathto/dart ./build.sh

# Usage
    #import('lib/sqlite.dart');
    var c = new sqlite.Connection("/tmp/test.db");
    try {
    	// Simple queries and statements
        Row results = print(c.first("SELECT ?+2, UPPER(?)", [3, "Hello"]));
        var five = results[0];
        var shouting = results[1];

        // Iterating over a result set
		var count = c.execute("SELECT * FROM posts LIMIT 10", callback: (row) {
			print("${row.title}: ${row.body}");
		});
		print("Showing ${count} posts.");

		// Reusing prepared statements
		var statement = c.prepare("INSERT INTO posts (title, body) VALUES (?,?)");
		try {
			statement.execute(["Hi", "Hello world"]);
			statement.execute(["Byte", "Goodbye cruel world"]);
		} finally {
			statement.close();
		}
	} finally {
		c.close();
	}
    
# Documentation
Nope! Just poke around lib/sqlite.dart for now.

# Legal stuff
Copyright 2012 Google Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
{'fraction_non_alphanumeric': 0.14192818772971444, 'fraction_numerical': 0.008481764206955046, 'mean_word_length': 3.5358974358974358, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6553107', 'n_tokens_mistral': 1101, 'n_tokens_neox': 1019, 'n_words': 377}