summaryrefslogtreecommitdiff
path: root/tests/othertests/sql
diff options
context:
space:
mode:
authorJason Pellerin <jpellerin@gmail.com>2006-07-03 16:53:50 +0000
committerJason Pellerin <jpellerin@gmail.com>2006-07-03 16:53:50 +0000
commit2f44c9f24f18472b375ee32118ad41ed1ab8a72f (patch)
treeca12ee0ef2c387035fc8f88d54a276dc384b9c19 /tests/othertests/sql
parent1c6199dc8778bc35e55d9c081ca4110448b18f0d (diff)
[multi-db] Added django.db.backends.ansi.sql, with BoundStatement and SchemaBuilder classes that are used to construct the SQL for creating tables, indexes, etc. Added tests for basic table, relationship, index and initial data creation. Added supports_compound_statements flag to backends to avoid splitting initial data when not needed.
git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3261 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/othertests/sql')
-rw-r--r--tests/othertests/sql/car.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/othertests/sql/car.sql b/tests/othertests/sql/car.sql
new file mode 100644
index 0000000000..8a377aabfb
--- /dev/null
+++ b/tests/othertests/sql/car.sql
@@ -0,0 +1,2 @@
+insert into ansi_sql_car (make, model, year, condition)
+ values ("Chevy", "Impala", 1966, "mint"); \ No newline at end of file