activerecord 2.3.2 → 2.3.3
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of activerecord might be problematic. Click here for more details.
- data/CHANGELOG +11 -0
- data/Rakefile +10 -10
- data/lib/active_record/associations.rb +67 -30
- data/lib/active_record/associations/association_collection.rb +9 -5
- data/lib/active_record/associations/association_proxy.rb +2 -2
- data/lib/active_record/associations/belongs_to_association.rb +22 -4
- data/lib/active_record/associations/belongs_to_polymorphic_association.rb +5 -1
- data/lib/active_record/associations/has_one_through_association.rb +8 -8
- data/lib/active_record/autosave_association.rb +11 -6
- data/lib/active_record/base.rb +16 -21
- data/lib/active_record/batches.rb +23 -15
- data/lib/active_record/calculations.rb +5 -13
- data/lib/active_record/connection_adapters/postgresql_adapter.rb +66 -22
- data/lib/active_record/connection_adapters/sqlite_adapter.rb +3 -0
- data/lib/active_record/fixtures.rb +5 -4
- data/lib/active_record/named_scope.rb +2 -2
- data/lib/active_record/schema_dumper.rb +5 -1
- data/lib/active_record/serialization.rb +3 -2
- data/lib/active_record/serializers/json_serializer.rb +8 -18
- data/lib/active_record/session_store.rb +9 -1
- data/lib/active_record/timestamp.rb +39 -9
- data/lib/active_record/validations.rb +1 -1
- data/lib/active_record/version.rb +1 -1
- data/test/cases/associations/belongs_to_associations_test.rb +102 -4
- data/test/cases/associations/eager_test.rb +12 -0
- data/test/cases/associations/has_many_associations_test.rb +6 -0
- data/test/cases/associations/has_one_through_associations_test.rb +8 -1
- data/test/cases/associations/inner_join_association_test.rb +5 -0
- data/test/cases/autosave_association_test.rb +22 -0
- data/test/cases/base_test.rb +2 -2
- data/test/cases/calculations_test.rb +8 -14
- data/test/cases/copy_table_test_sqlite.rb +5 -5
- data/test/cases/finder_test.rb +6 -0
- data/test/cases/fixtures_test.rb +5 -0
- data/test/cases/helper.rb +1 -2
- data/test/cases/json_serialization_test.rb +57 -57
- data/test/cases/method_scoping_test.rb +13 -3
- data/test/cases/reflection_test.rb +5 -5
- data/test/cases/schema_dumper_test.rb +17 -7
- data/test/cases/schema_test_postgresql.rb +76 -0
- data/test/cases/timestamp_test.rb +75 -0
- data/test/debug.log +415 -0
- data/test/fixtures/fixture_database.sqlite3 +0 -0
- data/test/fixtures/fixture_database_2.sqlite3 +0 -0
- data/test/models/author.rb +4 -0
- data/test/models/company.rb +7 -7
- data/test/models/developer.rb +10 -0
- data/test/models/essay.rb +3 -0
- data/test/models/pet.rb +1 -1
- data/test/models/project.rb +1 -1
- data/test/models/reply.rb +2 -1
- data/test/models/topic.rb +1 -0
- data/test/models/toy.rb +2 -0
- data/test/schema/schema.rb +15 -0
- metadata +6 -3
@@ -591,6 +591,16 @@ class DefaultScopingTest < ActiveRecord::TestCase
|
|
591
591
|
assert_equal expected, received
|
592
592
|
end
|
593
593
|
|
594
|
+
def test_default_scope_with_conditions_string
|
595
|
+
assert_equal Developer.find_all_by_name('David').map(&:id).sort, DeveloperCalledDavid.all.map(&:id).sort
|
596
|
+
assert_equal nil, DeveloperCalledDavid.create!.name
|
597
|
+
end
|
598
|
+
|
599
|
+
def test_default_scope_with_conditions_hash
|
600
|
+
assert_equal Developer.find_all_by_name('Jamis').map(&:id).sort, DeveloperCalledJamis.all.map(&:id).sort
|
601
|
+
assert_equal 'Jamis', DeveloperCalledJamis.create!.name
|
602
|
+
end
|
603
|
+
|
594
604
|
def test_default_scoping_with_threads
|
595
605
|
scope = [{ :create => {}, :find => { :order => 'salary DESC' } }]
|
596
606
|
|
@@ -628,9 +638,9 @@ class DefaultScopingTest < ActiveRecord::TestCase
|
|
628
638
|
assert_equal expected, received
|
629
639
|
end
|
630
640
|
|
631
|
-
def
|
632
|
-
expected = Developer.find(:all, :order => '
|
633
|
-
received = DeveloperOrderedBySalary.by_name.find(:all).collect { |dev| dev.
|
641
|
+
def test_named_scope_overwrites_default
|
642
|
+
expected = Developer.find(:all, :order => 'name DESC').collect { |dev| dev.name }
|
643
|
+
received = DeveloperOrderedBySalary.by_name.find(:all).collect { |dev| dev.name }
|
634
644
|
assert_equal expected, received
|
635
645
|
end
|
636
646
|
|
@@ -21,25 +21,25 @@ class ReflectionTest < ActiveRecord::TestCase
|
|
21
21
|
|
22
22
|
def test_read_attribute_names
|
23
23
|
assert_equal(
|
24
|
-
%w( id title author_name author_email_address bonus_time written_on last_read content approved replies_count parent_id type ).sort,
|
24
|
+
%w( id title author_name author_email_address bonus_time written_on last_read content approved replies_count parent_id parent_title type ).sort,
|
25
25
|
@first.attribute_names
|
26
26
|
)
|
27
27
|
end
|
28
28
|
|
29
29
|
def test_columns
|
30
|
-
assert_equal
|
30
|
+
assert_equal 13, Topic.columns.length
|
31
31
|
end
|
32
32
|
|
33
33
|
def test_columns_are_returned_in_the_order_they_were_declared
|
34
34
|
column_names = Topic.columns.map { |column| column.name }
|
35
|
-
assert_equal %w(id title author_name author_email_address written_on bonus_time last_read content approved replies_count parent_id type), column_names
|
35
|
+
assert_equal %w(id title author_name author_email_address written_on bonus_time last_read content approved replies_count parent_id parent_title type), column_names
|
36
36
|
end
|
37
37
|
|
38
38
|
def test_content_columns
|
39
39
|
content_columns = Topic.content_columns
|
40
40
|
content_column_names = content_columns.map {|column| column.name}
|
41
|
-
assert_equal
|
42
|
-
assert_equal %w(title author_name author_email_address written_on bonus_time last_read content approved).sort, content_column_names.sort
|
41
|
+
assert_equal 9, content_columns.length
|
42
|
+
assert_equal %w(title author_name author_email_address written_on bonus_time last_read content approved parent_title).sort, content_column_names.sort
|
43
43
|
end
|
44
44
|
|
45
45
|
def test_column_string_type_and_limit
|
@@ -22,6 +22,11 @@ class SchemaDumperTest < ActiveRecord::TestCase
|
|
22
22
|
assert_no_match %r{create_table "sqlite_sequence"}, output
|
23
23
|
end
|
24
24
|
|
25
|
+
def test_schema_dump_includes_camelcase_table_name
|
26
|
+
output = standard_dump
|
27
|
+
assert_match %r{create_table "CamelCase"}, output
|
28
|
+
end
|
29
|
+
|
25
30
|
def assert_line_up(lines, pattern, required = false)
|
26
31
|
return assert(true) if lines.empty?
|
27
32
|
matches = lines.map { |line| line.match(pattern) }
|
@@ -147,19 +152,24 @@ class SchemaDumperTest < ActiveRecord::TestCase
|
|
147
152
|
end
|
148
153
|
end
|
149
154
|
|
155
|
+
def test_schema_dumps_index_columns_in_right_order
|
156
|
+
index_definition = standard_dump.split(/\n/).grep(/add_index.*companies/).first.strip
|
157
|
+
assert_equal 'add_index "companies", ["firm_id", "type", "rating", "ruby_type"], :name => "company_index"', index_definition
|
158
|
+
end
|
159
|
+
|
160
|
+
def test_schema_dump_should_honor_nonstandard_primary_keys
|
161
|
+
output = standard_dump
|
162
|
+
match = output.match(%r{create_table "movies"(.*)do})
|
163
|
+
assert_not_nil(match, "nonstandardpk table not found")
|
164
|
+
assert_match %r(:primary_key => "movieid"), match[1], "non-standard primary key not preserved"
|
165
|
+
end
|
166
|
+
|
150
167
|
if current_adapter?(:MysqlAdapter)
|
151
168
|
def test_schema_dump_should_not_add_default_value_for_mysql_text_field
|
152
169
|
output = standard_dump
|
153
170
|
assert_match %r{t.text\s+"body",\s+:null => false$}, output
|
154
171
|
end
|
155
172
|
|
156
|
-
def test_mysql_schema_dump_should_honor_nonstandard_primary_keys
|
157
|
-
output = standard_dump
|
158
|
-
match = output.match(%r{create_table "movies"(.*)do})
|
159
|
-
assert_not_nil(match, "nonstandardpk table not found")
|
160
|
-
assert_match %r(:primary_key => "movieid"), match[1], "non-standard primary key not preserved"
|
161
|
-
end
|
162
|
-
|
163
173
|
def test_schema_dump_includes_length_for_mysql_blob_and_text_fields
|
164
174
|
output = standard_dump
|
165
175
|
assert_match %r{t.binary\s+"tiny_blob",\s+:limit => 255$}, output
|
@@ -6,6 +6,7 @@ class SchemaTest < ActiveRecord::TestCase
|
|
6
6
|
SCHEMA_NAME = 'test_schema'
|
7
7
|
SCHEMA2_NAME = 'test_schema2'
|
8
8
|
TABLE_NAME = 'things'
|
9
|
+
CAPITALIZED_TABLE_NAME = 'Things'
|
9
10
|
INDEX_A_NAME = 'a_index_things_on_name'
|
10
11
|
INDEX_B_NAME = 'b_index_things_on_different_columns_in_each_schema'
|
11
12
|
INDEX_A_COLUMN = 'name'
|
@@ -18,9 +19,27 @@ class SchemaTest < ActiveRecord::TestCase
|
|
18
19
|
'moment timestamp without time zone default now()'
|
19
20
|
]
|
20
21
|
|
22
|
+
class Thing1 < ActiveRecord::Base
|
23
|
+
set_table_name "test_schema.things"
|
24
|
+
end
|
25
|
+
|
26
|
+
class Thing2 < ActiveRecord::Base
|
27
|
+
set_table_name "test_schema2.things"
|
28
|
+
end
|
29
|
+
|
30
|
+
class Thing3 < ActiveRecord::Base
|
31
|
+
set_table_name 'test_schema."things.table"'
|
32
|
+
end
|
33
|
+
|
34
|
+
class Thing4 < ActiveRecord::Base
|
35
|
+
set_table_name 'test_schema."Things"'
|
36
|
+
end
|
37
|
+
|
21
38
|
def setup
|
22
39
|
@connection = ActiveRecord::Base.connection
|
23
40
|
@connection.execute "CREATE SCHEMA #{SCHEMA_NAME} CREATE TABLE #{TABLE_NAME} (#{COLUMNS.join(',')})"
|
41
|
+
@connection.execute "CREATE TABLE #{SCHEMA_NAME}.\"#{TABLE_NAME}.table\" (#{COLUMNS.join(',')})"
|
42
|
+
@connection.execute "CREATE TABLE #{SCHEMA_NAME}.\"#{CAPITALIZED_TABLE_NAME}\" (#{COLUMNS.join(',')})"
|
24
43
|
@connection.execute "CREATE SCHEMA #{SCHEMA2_NAME} CREATE TABLE #{TABLE_NAME} (#{COLUMNS.join(',')})"
|
25
44
|
@connection.execute "CREATE INDEX #{INDEX_A_NAME} ON #{SCHEMA_NAME}.#{TABLE_NAME} USING btree (#{INDEX_A_COLUMN});"
|
26
45
|
@connection.execute "CREATE INDEX #{INDEX_A_NAME} ON #{SCHEMA2_NAME}.#{TABLE_NAME} USING btree (#{INDEX_A_COLUMN});"
|
@@ -39,6 +58,12 @@ class SchemaTest < ActiveRecord::TestCase
|
|
39
58
|
end
|
40
59
|
end
|
41
60
|
|
61
|
+
def test_with_schema_prefixed_capitalized_table_name
|
62
|
+
assert_nothing_raised do
|
63
|
+
assert_equal COLUMNS, columns("#{SCHEMA_NAME}.#{CAPITALIZED_TABLE_NAME}")
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
42
67
|
def test_with_schema_search_path
|
43
68
|
assert_nothing_raised do
|
44
69
|
with_schema_search_path(SCHEMA_NAME) do
|
@@ -47,6 +72,47 @@ class SchemaTest < ActiveRecord::TestCase
|
|
47
72
|
end
|
48
73
|
end
|
49
74
|
|
75
|
+
|
76
|
+
def test_proper_encoding_of_table_name
|
77
|
+
assert_equal '"table_name"', @connection.quote_table_name('table_name')
|
78
|
+
assert_equal '"table.name"', @connection.quote_table_name('"table.name"')
|
79
|
+
assert_equal '"schema_name"."table_name"', @connection.quote_table_name('schema_name.table_name')
|
80
|
+
assert_equal '"schema_name"."table.name"', @connection.quote_table_name('schema_name."table.name"')
|
81
|
+
assert_equal '"schema.name"."table_name"', @connection.quote_table_name('"schema.name".table_name')
|
82
|
+
assert_equal '"schema.name"."table.name"', @connection.quote_table_name('"schema.name"."table.name"')
|
83
|
+
end
|
84
|
+
|
85
|
+
def test_classes_with_qualified_schema_name
|
86
|
+
assert_equal 0, Thing1.count
|
87
|
+
assert_equal 0, Thing2.count
|
88
|
+
assert_equal 0, Thing3.count
|
89
|
+
assert_equal 0, Thing4.count
|
90
|
+
|
91
|
+
Thing1.create(:id => 1, :name => "thing1", :email => "thing1@localhost", :moment => Time.now)
|
92
|
+
assert_equal 1, Thing1.count
|
93
|
+
assert_equal 0, Thing2.count
|
94
|
+
assert_equal 0, Thing3.count
|
95
|
+
assert_equal 0, Thing4.count
|
96
|
+
|
97
|
+
Thing2.create(:id => 1, :name => "thing1", :email => "thing1@localhost", :moment => Time.now)
|
98
|
+
assert_equal 1, Thing1.count
|
99
|
+
assert_equal 1, Thing2.count
|
100
|
+
assert_equal 0, Thing3.count
|
101
|
+
assert_equal 0, Thing4.count
|
102
|
+
|
103
|
+
Thing3.create(:id => 1, :name => "thing1", :email => "thing1@localhost", :moment => Time.now)
|
104
|
+
assert_equal 1, Thing1.count
|
105
|
+
assert_equal 1, Thing2.count
|
106
|
+
assert_equal 1, Thing3.count
|
107
|
+
assert_equal 0, Thing4.count
|
108
|
+
|
109
|
+
Thing4.create(:id => 1, :name => "thing1", :email => "thing1@localhost", :moment => Time.now)
|
110
|
+
assert_equal 1, Thing1.count
|
111
|
+
assert_equal 1, Thing2.count
|
112
|
+
assert_equal 1, Thing3.count
|
113
|
+
assert_equal 1, Thing4.count
|
114
|
+
end
|
115
|
+
|
50
116
|
def test_raise_on_unquoted_schema_name
|
51
117
|
assert_raise(ActiveRecord::StatementInvalid) do
|
52
118
|
with_schema_search_path '$user,public'
|
@@ -69,6 +135,16 @@ class SchemaTest < ActiveRecord::TestCase
|
|
69
135
|
do_dump_index_tests_for_schema(SCHEMA2_NAME, INDEX_A_COLUMN, INDEX_B_COLUMN_S2)
|
70
136
|
end
|
71
137
|
|
138
|
+
def test_with_uppercase_index_name
|
139
|
+
ActiveRecord::Base.connection.execute "CREATE INDEX \"things_Index\" ON #{SCHEMA_NAME}.things (name)"
|
140
|
+
assert_nothing_raised { ActiveRecord::Base.connection.remove_index :things, :name => "#{SCHEMA_NAME}.things_Index"}
|
141
|
+
|
142
|
+
ActiveRecord::Base.connection.execute "CREATE INDEX \"things_Index\" ON #{SCHEMA_NAME}.things (name)"
|
143
|
+
ActiveRecord::Base.connection.schema_search_path = SCHEMA_NAME
|
144
|
+
assert_nothing_raised { ActiveRecord::Base.connection.remove_index :things, :name => "things_Index"}
|
145
|
+
ActiveRecord::Base.connection.schema_search_path = "public"
|
146
|
+
end
|
147
|
+
|
72
148
|
private
|
73
149
|
def columns(table_name)
|
74
150
|
@connection.send(:column_definitions, table_name).map do |name, type, default|
|
@@ -0,0 +1,75 @@
|
|
1
|
+
require 'cases/helper'
|
2
|
+
require 'models/developer'
|
3
|
+
require 'models/owner'
|
4
|
+
require 'models/pet'
|
5
|
+
|
6
|
+
class TimestampTest < ActiveRecord::TestCase
|
7
|
+
fixtures :developers, :owners, :pets
|
8
|
+
|
9
|
+
def setup
|
10
|
+
@developer = Developer.first
|
11
|
+
@previously_updated_at = @developer.updated_at
|
12
|
+
end
|
13
|
+
|
14
|
+
def test_saving_a_changed_record_updates_its_timestamp
|
15
|
+
@developer.name = "Jack Bauer"
|
16
|
+
@developer.save!
|
17
|
+
|
18
|
+
assert @previously_updated_at != @developer.updated_at
|
19
|
+
end
|
20
|
+
|
21
|
+
def test_saving_a_unchanged_record_doesnt_update_its_timestamp
|
22
|
+
@developer.save!
|
23
|
+
|
24
|
+
assert @previously_updated_at == @developer.updated_at
|
25
|
+
end
|
26
|
+
|
27
|
+
def test_touching_a_record_updates_its_timestamp
|
28
|
+
@developer.touch
|
29
|
+
|
30
|
+
assert @previously_updated_at != @developer.updated_at
|
31
|
+
end
|
32
|
+
|
33
|
+
def test_touching_a_different_attribute
|
34
|
+
previously_created_at = @developer.created_at
|
35
|
+
@developer.touch(:created_at)
|
36
|
+
|
37
|
+
assert previously_created_at != @developer.created_at
|
38
|
+
end
|
39
|
+
|
40
|
+
def test_saving_a_record_with_a_belongs_to_that_specifies_touching_the_parent_should_update_the_parent_updated_at
|
41
|
+
pet = Pet.first
|
42
|
+
owner = pet.owner
|
43
|
+
previously_owner_updated_at = owner.updated_at
|
44
|
+
|
45
|
+
pet.name = "Fluffy the Third"
|
46
|
+
pet.save
|
47
|
+
|
48
|
+
assert previously_owner_updated_at != pet.owner.updated_at
|
49
|
+
end
|
50
|
+
|
51
|
+
def test_destroying_a_record_with_a_belongs_to_that_specifies_touching_the_parent_should_update_the_parent_updated_at
|
52
|
+
pet = Pet.first
|
53
|
+
owner = pet.owner
|
54
|
+
previously_owner_updated_at = owner.updated_at
|
55
|
+
|
56
|
+
pet.destroy
|
57
|
+
|
58
|
+
assert previously_owner_updated_at != pet.owner.updated_at
|
59
|
+
end
|
60
|
+
|
61
|
+
def test_saving_a_record_with_a_belongs_to_that_specifies_touching_a_specific_attribute_the_parent_should_update_that_attribute
|
62
|
+
Pet.belongs_to :owner, :touch => :happy_at
|
63
|
+
|
64
|
+
pet = Pet.first
|
65
|
+
owner = pet.owner
|
66
|
+
previously_owner_happy_at = owner.happy_at
|
67
|
+
|
68
|
+
pet.name = "Fluffy the Third"
|
69
|
+
pet.save
|
70
|
+
|
71
|
+
assert previously_owner_happy_at != pet.owner.happy_at
|
72
|
+
ensure
|
73
|
+
Pet.belongs_to :owner, :touch => true
|
74
|
+
end
|
75
|
+
end
|
data/test/debug.log
ADDED
@@ -0,0 +1,415 @@
|
|
1
|
+
# Logfile created on Mon Feb 23 11:47:55 +0100 2009 by /
|
2
|
+
[4;36;1mPost Load (0.7ms)[0m [0;1mSELECT * FROM "posts" ORDER BY id asc[0m
|
3
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT count(*) AS count_all FROM "posts" [0m
|
4
|
+
[4;36;1mPost Load (1.1ms)[0m [0;1mSELECT * FROM "posts" ORDER BY id asc[0m
|
5
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT count(*) AS count_all FROM "posts" [0m
|
6
|
+
[4;36;1mSQL (2.8ms)[0m [0;1m SELECT name
|
7
|
+
FROM sqlite_master
|
8
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
9
|
+
[0m
|
10
|
+
[4;35;1mSQL (2.5ms)[0m [0m SELECT name
|
11
|
+
FROM sqlite_master
|
12
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
13
|
+
[0m
|
14
|
+
[4;36;1mSQL (2.4ms)[0m [0;1m SELECT name
|
15
|
+
FROM sqlite_master
|
16
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
17
|
+
[0m
|
18
|
+
[4;35;1mSQL (2.4ms)[0m [0m SELECT name
|
19
|
+
FROM sqlite_master
|
20
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
21
|
+
[0m
|
22
|
+
[4;36;1mSQL (2.3ms)[0m [0;1m SELECT name
|
23
|
+
FROM sqlite_master
|
24
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
25
|
+
[0m
|
26
|
+
[4;35;1mSQL (2.0ms)[0m [0m SELECT name
|
27
|
+
FROM sqlite_master
|
28
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
29
|
+
[0m
|
30
|
+
[4;36;1mSQL (2.0ms)[0m [0;1m SELECT name
|
31
|
+
FROM sqlite_master
|
32
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
33
|
+
[0m
|
34
|
+
[4;36;1mPost Load (0.8ms)[0m [0;1mSELECT * FROM "posts" ORDER BY id asc[0m
|
35
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT count(*) AS count_all FROM "posts" [0m
|
36
|
+
[4;36;1mPost Load (0.7ms)[0m [0;1mSELECT * FROM "posts" ORDER BY id asc[0m
|
37
|
+
[4;35;1mSQL (0.2ms)[0m [0mSELECT count(*) AS count_all FROM "posts" [0m
|
38
|
+
[4;36;1mSQL (2.0ms)[0m [0;1m SELECT name
|
39
|
+
FROM sqlite_master
|
40
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
41
|
+
[0m
|
42
|
+
[4;36;1mPost Load (1.2ms)[0m [0;1mSELECT * FROM "posts" ORDER BY id asc[0m
|
43
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT count(*) AS count_all FROM "posts" [0m
|
44
|
+
[4;36;1mPost Load (0.4ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id >= 0) ORDER BY posts.id ASC LIMIT 2[0m
|
45
|
+
[4;35;1mPost Load (0.8ms)[0m [0mSELECT * FROM "posts" ORDER BY id asc[0m
|
46
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "posts" [0m
|
47
|
+
[4;36;1mPost Load (1.0ms)[0m [0;1mSELECT * FROM "posts" ORDER BY id asc[0m
|
48
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT count(*) AS count_all FROM "posts" [0m
|
49
|
+
[4;36;1mPost Load (0.3ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id >= 0) ORDER BY posts.id ASC LIMIT 2[0m
|
50
|
+
[4;35;1mPost Load (0.8ms)[0m [0mSELECT * FROM "posts" ORDER BY id asc[0m
|
51
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "posts" [0m
|
52
|
+
[4;36;1mPost Load (0.9ms)[0m [0;1mSELECT * FROM "posts" ORDER BY id asc[0m
|
53
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT count(*) AS count_all FROM "posts" [0m
|
54
|
+
[4;36;1mPost Load (0.3ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id >= 0) ORDER BY posts.id ASC LIMIT 2[0m
|
55
|
+
[4;35;1mPost Load (0.9ms)[0m [0mSELECT * FROM "posts" ORDER BY id asc[0m
|
56
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "posts" [0m
|
57
|
+
[4;36;1mPost Load (1.2ms)[0m [0;1mSELECT * FROM "posts" ORDER BY id asc[0m
|
58
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT count(*) AS count_all FROM "posts" [0m
|
59
|
+
[4;36;1mPost Load (0.3ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id >= 0) ORDER BY posts.id ASC LIMIT 2[0m
|
60
|
+
[4;35;1mPost Load (0.7ms)[0m [0mSELECT * FROM "posts" ORDER BY id asc[0m
|
61
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "posts" [0m
|
62
|
+
[4;36;1mPost Load (0.9ms)[0m [0;1mSELECT * FROM "posts" ORDER BY id asc[0m
|
63
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT count(*) AS count_all FROM "posts" [0m
|
64
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "posts" [0m
|
65
|
+
[4;35;1mPost Load (0.7ms)[0m [0mSELECT * FROM "posts" ORDER BY id asc[0m
|
66
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "posts" [0m
|
67
|
+
[4;36;1mPost Load (1.1ms)[0m [0;1mSELECT * FROM "posts" ORDER BY id asc[0m
|
68
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT count(*) AS count_all FROM "posts" [0m
|
69
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "posts" [0m
|
70
|
+
[4;35;1mPost Load (0.8ms)[0m [0mSELECT * FROM "posts" ORDER BY id asc[0m
|
71
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "posts" [0m
|
72
|
+
[4;36;1mPost Load (1.0ms)[0m [0;1mSELECT * FROM "posts" ORDER BY id asc[0m
|
73
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT count(*) AS count_all FROM "posts" [0m
|
74
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "posts" [0m
|
75
|
+
[4;35;1mPost Load (0.7ms)[0m [0mSELECT * FROM "posts" ORDER BY id asc[0m
|
76
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "posts" [0m
|
77
|
+
[4;36;1mPost Load (0.7ms)[0m [0;1mSELECT * FROM "posts" ORDER BY id asc[0m
|
78
|
+
[4;35;1mSQL (0.2ms)[0m [0mSELECT count(*) AS count_all FROM "posts" [0m
|
79
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "posts" [0m
|
80
|
+
[4;35;1mPost Load (0.7ms)[0m [0mSELECT * FROM "posts" ORDER BY id asc[0m
|
81
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "posts" [0m
|
82
|
+
[4;36;1mPost Load (0.8ms)[0m [0;1mSELECT * FROM "posts" ORDER BY id asc[0m
|
83
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT count(*) AS count_all FROM "posts" [0m
|
84
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "posts" [0m
|
85
|
+
[4;35;1mPost Load (1.0ms)[0m [0mSELECT * FROM "posts" ORDER BY id asc[0m
|
86
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "posts" [0m
|
87
|
+
[4;35;1mPost Load (1.0ms)[0m [0mSELECT * FROM "posts" ORDER BY id asc[0m
|
88
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "posts" [0m
|
89
|
+
[4;36;1mPost Load (0.8ms)[0m [0;1mSELECT * FROM "posts" ORDER BY id asc[0m
|
90
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT count(*) AS count_all FROM "posts" [0m
|
91
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "posts" [0m
|
92
|
+
[4;35;1mPost Load (0.7ms)[0m [0mSELECT * FROM "posts" ORDER BY id asc[0m
|
93
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "posts" [0m
|
94
|
+
[4;35;1mPost Load (0.6ms)[0m [0mSELECT * FROM "posts" ORDER BY id asc[0m
|
95
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "posts" [0m
|
96
|
+
[4;36;1mPost Load (0.8ms)[0m [0;1mSELECT * FROM "posts" ORDER BY id asc[0m
|
97
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT count(*) AS count_all FROM "posts" [0m
|
98
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "posts" [0m
|
99
|
+
[4;35;1mPost Load (0.6ms)[0m [0mSELECT * FROM "posts" ORDER BY id asc[0m
|
100
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "posts" [0m
|
101
|
+
[4;35;1mPost Load (0.6ms)[0m [0mSELECT * FROM "posts" ORDER BY id asc[0m
|
102
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "posts" [0m
|
103
|
+
[4;36;1mPost Load (0.9ms)[0m [0;1mSELECT * FROM "posts" ORDER BY id asc[0m
|
104
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT count(*) AS count_all FROM "posts" [0m
|
105
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "posts" [0m
|
106
|
+
[4;35;1mPost Load (0.8ms)[0m [0mSELECT * FROM "posts" ORDER BY id asc[0m
|
107
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "posts" [0m
|
108
|
+
[4;35;1mPost Load (0.6ms)[0m [0mSELECT * FROM "posts" ORDER BY id asc[0m
|
109
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "posts" [0m
|
110
|
+
[4;36;1mPost Load (1.0ms)[0m [0;1mSELECT * FROM "posts" ORDER BY id asc[0m
|
111
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT count(*) AS count_all FROM "posts" [0m
|
112
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "posts" [0m
|
113
|
+
[4;36;1mPost Load (0.7ms)[0m [0;1mSELECT * FROM "posts" ORDER BY id asc[0m
|
114
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT count(*) AS count_all FROM "posts" [0m
|
115
|
+
[4;36;1mSQL (2.0ms)[0m [0;1m SELECT name
|
116
|
+
FROM sqlite_master
|
117
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
118
|
+
[0m
|
119
|
+
[4;36;1mPost Load (1.0ms)[0m [0;1mSELECT * FROM "posts" ORDER BY id asc[0m
|
120
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT count(*) AS count_all FROM "posts" [0m
|
121
|
+
[4;36;1mPost Load (1.0ms)[0m [0;1mSELECT * FROM "posts" ORDER BY id asc[0m
|
122
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT count(*) AS count_all FROM "posts" [0m
|
123
|
+
[4;36;1mPost Load (0.2ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id >= 0) ORDER BY posts.id ASC LIMIT 1[0m
|
124
|
+
[4;35;1mSQL (2.3ms)[0m [0m SELECT name
|
125
|
+
FROM sqlite_master
|
126
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
127
|
+
[0m
|
128
|
+
[4;36;1mPost Load (0.7ms)[0m [0;1mSELECT * FROM "posts" ORDER BY id asc[0m
|
129
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT count(*) AS count_all FROM "posts" [0m
|
130
|
+
[4;36;1mPost Load (0.2ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id >= 0) ORDER BY posts.id ASC LIMIT 1[0m
|
131
|
+
[4;35;1mPost Load (0.2ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id > 1) ORDER BY posts.id ASC LIMIT 1[0m
|
132
|
+
[4;36;1mPost Load (0.2ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 2) ORDER BY posts.id ASC LIMIT 1[0m
|
133
|
+
[4;35;1mPost Load (0.2ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id > 3) ORDER BY posts.id ASC LIMIT 1[0m
|
134
|
+
[4;36;1mPost Load (0.2ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 4) ORDER BY posts.id ASC LIMIT 1[0m
|
135
|
+
[4;35;1mPost Load (0.3ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id > 5) ORDER BY posts.id ASC LIMIT 1[0m
|
136
|
+
[4;36;1mPost Load (0.3ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 6) ORDER BY posts.id ASC LIMIT 1[0m
|
137
|
+
[4;35;1mPost Load (0.1ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id > 7) ORDER BY posts.id ASC LIMIT 1[0m
|
138
|
+
[4;36;1mPost Load (1.0ms)[0m [0;1mSELECT * FROM "posts" ORDER BY id asc[0m
|
139
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT count(*) AS count_all FROM "posts" [0m
|
140
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "posts" [0m
|
141
|
+
[4;35;1mPost Load (0.2ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id >= 0) ORDER BY posts.id ASC LIMIT 1[0m
|
142
|
+
[4;36;1mPost Load (0.2ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 1) ORDER BY posts.id ASC LIMIT 1[0m
|
143
|
+
[4;35;1mPost Load (0.2ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id > 2) ORDER BY posts.id ASC LIMIT 1[0m
|
144
|
+
[4;36;1mPost Load (0.2ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 3) ORDER BY posts.id ASC LIMIT 1[0m
|
145
|
+
[4;35;1mPost Load (0.2ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id > 4) ORDER BY posts.id ASC LIMIT 1[0m
|
146
|
+
[4;36;1mPost Load (0.2ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 5) ORDER BY posts.id ASC LIMIT 1[0m
|
147
|
+
[4;35;1mPost Load (0.2ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id > 6) ORDER BY posts.id ASC LIMIT 1[0m
|
148
|
+
[4;36;1mPost Load (0.1ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 7) ORDER BY posts.id ASC LIMIT 1[0m
|
149
|
+
[4;36;1mPost Load (0.8ms)[0m [0;1mSELECT * FROM "posts" ORDER BY id asc[0m
|
150
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT count(*) AS count_all FROM "posts" [0m
|
151
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "posts" [0m
|
152
|
+
[4;35;1mPost Load (0.3ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id >= 0) ORDER BY posts.id ASC LIMIT 2[0m
|
153
|
+
[4;36;1mPost Load (0.2ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 2) ORDER BY posts.id ASC LIMIT 2[0m
|
154
|
+
[4;35;1mPost Load (0.2ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id > 4) ORDER BY posts.id ASC LIMIT 2[0m
|
155
|
+
[4;36;1mPost Load (0.2ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 6) ORDER BY posts.id ASC LIMIT 2[0m
|
156
|
+
[4;35;1mPost Load (0.1ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id > 7) ORDER BY posts.id ASC LIMIT 2[0m
|
157
|
+
[4;36;1mPost Load (1.1ms)[0m [0;1mSELECT * FROM "posts" ORDER BY id asc[0m
|
158
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT count(*) AS count_all FROM "posts" [0m
|
159
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "posts" [0m
|
160
|
+
[4;35;1mPost Load (0.4ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id >= 0) ORDER BY posts.id ASC LIMIT 2[0m
|
161
|
+
[4;36;1mPost Load (0.3ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 2) ORDER BY posts.id ASC LIMIT 2[0m
|
162
|
+
[4;35;1mPost Load (0.3ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id > 4) ORDER BY posts.id ASC LIMIT 2[0m
|
163
|
+
[4;36;1mPost Load (0.2ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 6) ORDER BY posts.id ASC LIMIT 2[0m
|
164
|
+
[4;35;1mPost Load (0.1ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id > 7) ORDER BY posts.id ASC LIMIT 2[0m
|
165
|
+
[4;36;1mPost Load (0.8ms)[0m [0;1mSELECT * FROM "posts" ORDER BY id asc[0m
|
166
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT count(*) AS count_all FROM "posts" [0m
|
167
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "posts" [0m
|
168
|
+
[4;35;1mPost Load (0.2ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id >= 0) ORDER BY posts.id ASC LIMIT 1[0m
|
169
|
+
[4;36;1mPost Load (0.2ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 1) ORDER BY posts.id ASC LIMIT 1[0m
|
170
|
+
[4;35;1mPost Load (0.2ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id > 2) ORDER BY posts.id ASC LIMIT 1[0m
|
171
|
+
[4;36;1mPost Load (0.2ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 3) ORDER BY posts.id ASC LIMIT 1[0m
|
172
|
+
[4;35;1mPost Load (0.2ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id > 4) ORDER BY posts.id ASC LIMIT 1[0m
|
173
|
+
[4;36;1mPost Load (0.2ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 5) ORDER BY posts.id ASC LIMIT 1[0m
|
174
|
+
[4;35;1mPost Load (0.2ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id > 6) ORDER BY posts.id ASC LIMIT 1[0m
|
175
|
+
[4;36;1mPost Load (0.1ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 7) ORDER BY posts.id ASC LIMIT 1[0m
|
176
|
+
[4;36;1mPost Load (0.8ms)[0m [0;1mSELECT * FROM "posts" ORDER BY id asc[0m
|
177
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT count(*) AS count_all FROM "posts" [0m
|
178
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "posts" [0m
|
179
|
+
[4;35;1mPost Load (0.2ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id >= 0) ORDER BY posts.id ASC LIMIT 1[0m
|
180
|
+
[4;36;1mPost Load (0.6ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 1) ORDER BY posts.id ASC LIMIT 1[0m
|
181
|
+
[4;35;1mPost Load (0.2ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id > 2) ORDER BY posts.id ASC LIMIT 1[0m
|
182
|
+
[4;36;1mPost Load (0.2ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 3) ORDER BY posts.id ASC LIMIT 1[0m
|
183
|
+
[4;35;1mPost Load (0.2ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id > 4) ORDER BY posts.id ASC LIMIT 1[0m
|
184
|
+
[4;36;1mPost Load (0.2ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 5) ORDER BY posts.id ASC LIMIT 1[0m
|
185
|
+
[4;35;1mPost Load (0.2ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id > 6) ORDER BY posts.id ASC LIMIT 1[0m
|
186
|
+
[4;36;1mPost Load (0.1ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 7) ORDER BY posts.id ASC LIMIT 1[0m
|
187
|
+
[4;36;1mPost Load (0.8ms)[0m [0;1mSELECT * FROM "posts" ORDER BY id asc[0m
|
188
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT count(*) AS count_all FROM "posts" [0m
|
189
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "posts" [0m
|
190
|
+
[4;35;1mPost Load (0.2ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id >= 0) ORDER BY posts.id ASC LIMIT 1[0m
|
191
|
+
[4;36;1mPost Load (0.2ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 1) ORDER BY posts.id ASC LIMIT 1[0m
|
192
|
+
[4;35;1mPost Load (0.2ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id > 2) ORDER BY posts.id ASC LIMIT 1[0m
|
193
|
+
[4;36;1mPost Load (0.2ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 3) ORDER BY posts.id ASC LIMIT 1[0m
|
194
|
+
[4;35;1mPost Load (0.2ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id > 4) ORDER BY posts.id ASC LIMIT 1[0m
|
195
|
+
[4;36;1mPost Load (0.2ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 5) ORDER BY posts.id ASC LIMIT 1[0m
|
196
|
+
[4;35;1mPost Load (0.2ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id > 6) ORDER BY posts.id ASC LIMIT 1[0m
|
197
|
+
[4;36;1mPost Load (0.1ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 7) ORDER BY posts.id ASC LIMIT 1[0m
|
198
|
+
[4;35;1mPost Load (0.6ms)[0m [0mSELECT * FROM "posts" ORDER BY id asc[0m
|
199
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "posts" [0m
|
200
|
+
[4;35;1mPost Load (0.7ms)[0m [0mSELECT * FROM "posts" ORDER BY id asc[0m
|
201
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "posts" [0m
|
202
|
+
[4;36;1mPost Load (1.1ms)[0m [0;1mSELECT * FROM "posts" ORDER BY id asc[0m
|
203
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT count(*) AS count_all FROM "posts" [0m
|
204
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "posts" [0m
|
205
|
+
[4;35;1mPost Load (0.3ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id >= 0) ORDER BY posts.id ASC LIMIT 1[0m
|
206
|
+
[4;36;1mPost Load (0.2ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 1) ORDER BY posts.id ASC LIMIT 1[0m
|
207
|
+
[4;35;1mPost Load (0.2ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id > 2) ORDER BY posts.id ASC LIMIT 1[0m
|
208
|
+
[4;36;1mPost Load (0.2ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 3) ORDER BY posts.id ASC LIMIT 1[0m
|
209
|
+
[4;35;1mPost Load (0.2ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id > 4) ORDER BY posts.id ASC LIMIT 1[0m
|
210
|
+
[4;36;1mPost Load (0.2ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 5) ORDER BY posts.id ASC LIMIT 1[0m
|
211
|
+
[4;35;1mPost Load (0.2ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id > 6) ORDER BY posts.id ASC LIMIT 1[0m
|
212
|
+
[4;36;1mPost Load (0.1ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 7) ORDER BY posts.id ASC LIMIT 1[0m
|
213
|
+
[4;35;1mPost Load (0.7ms)[0m [0mSELECT * FROM "posts" ORDER BY id asc[0m
|
214
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "posts" [0m
|
215
|
+
[4;35;1mPost Load (0.7ms)[0m [0mSELECT * FROM "posts" ORDER BY id asc[0m
|
216
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "posts" [0m
|
217
|
+
[4;35;1mPost Load (0.7ms)[0m [0mSELECT * FROM "posts" ORDER BY id asc[0m
|
218
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "posts" [0m
|
219
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT count(*) AS count_all FROM "posts" [0m
|
220
|
+
[4;36;1mPost Load (0.2ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id >= 0) ORDER BY posts.id ASC LIMIT 1[0m
|
221
|
+
[4;35;1mPost Load (0.2ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id > 1) ORDER BY posts.id ASC LIMIT 1[0m
|
222
|
+
[4;36;1mPost Load (0.2ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 2) ORDER BY posts.id ASC LIMIT 1[0m
|
223
|
+
[4;35;1mPost Load (0.2ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id > 3) ORDER BY posts.id ASC LIMIT 1[0m
|
224
|
+
[4;36;1mPost Load (0.2ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 4) ORDER BY posts.id ASC LIMIT 1[0m
|
225
|
+
[4;35;1mPost Load (0.2ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id > 5) ORDER BY posts.id ASC LIMIT 1[0m
|
226
|
+
[4;36;1mPost Load (0.4ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 6) ORDER BY posts.id ASC LIMIT 1[0m
|
227
|
+
[4;35;1mPost Load (0.1ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id > 7) ORDER BY posts.id ASC LIMIT 1[0m
|
228
|
+
[4;36;1mPost Load (1.0ms)[0m [0;1mSELECT * FROM "posts" ORDER BY id asc[0m
|
229
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT count(*) AS count_all FROM "posts" [0m
|
230
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "posts" [0m
|
231
|
+
[4;35;1mPost Load (0.2ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id >= 0) ORDER BY posts.id ASC LIMIT 1[0m
|
232
|
+
[4;36;1mPost Load (0.3ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 1) ORDER BY posts.id ASC LIMIT 1[0m
|
233
|
+
[4;35;1mPost Load (0.2ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id > 2) ORDER BY posts.id ASC LIMIT 1[0m
|
234
|
+
[4;36;1mPost Load (0.2ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 3) ORDER BY posts.id ASC LIMIT 1[0m
|
235
|
+
[4;35;1mPost Load (0.2ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id > 4) ORDER BY posts.id ASC LIMIT 1[0m
|
236
|
+
[4;36;1mPost Load (0.2ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 5) ORDER BY posts.id ASC LIMIT 1[0m
|
237
|
+
[4;35;1mPost Load (0.2ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id > 6) ORDER BY posts.id ASC LIMIT 1[0m
|
238
|
+
[4;36;1mPost Load (0.1ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 7) ORDER BY posts.id ASC LIMIT 1[0m
|
239
|
+
[4;35;1mPost Load (0.7ms)[0m [0mSELECT * FROM "posts" ORDER BY id asc[0m
|
240
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "posts" [0m
|
241
|
+
[4;35;1mPost Load (0.7ms)[0m [0mSELECT * FROM "posts" ORDER BY id asc[0m
|
242
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "posts" [0m
|
243
|
+
[4;35;1mPost Load (0.6ms)[0m [0mSELECT * FROM "posts" ORDER BY id asc[0m
|
244
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "posts" [0m
|
245
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT count(*) AS count_all FROM "posts" [0m
|
246
|
+
[4;36;1mPost Load (0.2ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id >= 0) ORDER BY posts.id ASC LIMIT 1[0m
|
247
|
+
[4;35;1mPost Load (0.3ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id > 1) ORDER BY posts.id ASC LIMIT 1[0m
|
248
|
+
[4;36;1mPost Load (0.2ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 2) ORDER BY posts.id ASC LIMIT 1[0m
|
249
|
+
[4;35;1mPost Load (0.3ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id > 3) ORDER BY posts.id ASC LIMIT 1[0m
|
250
|
+
[4;36;1mPost Load (0.2ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 4) ORDER BY posts.id ASC LIMIT 1[0m
|
251
|
+
[4;35;1mPost Load (0.2ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id > 5) ORDER BY posts.id ASC LIMIT 1[0m
|
252
|
+
[4;36;1mPost Load (0.2ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 6) ORDER BY posts.id ASC LIMIT 1[0m
|
253
|
+
[4;35;1mPost Load (0.1ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id > 7) ORDER BY posts.id ASC LIMIT 1[0m
|
254
|
+
[4;36;1mPost Load (0.7ms)[0m [0;1mSELECT * FROM "posts" ORDER BY id asc[0m
|
255
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT count(*) AS count_all FROM "posts" [0m
|
256
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "posts" [0m
|
257
|
+
[4;35;1mPost Load (0.2ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id >= 2) ORDER BY posts.id ASC LIMIT 1[0m
|
258
|
+
[4;36;1mPost Load (0.2ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 2) ORDER BY posts.id ASC LIMIT 1[0m
|
259
|
+
[4;35;1mPost Load (0.2ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id > 3) ORDER BY posts.id ASC LIMIT 1[0m
|
260
|
+
[4;36;1mPost Load (0.2ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 4) ORDER BY posts.id ASC LIMIT 1[0m
|
261
|
+
[4;35;1mPost Load (0.2ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id > 5) ORDER BY posts.id ASC LIMIT 1[0m
|
262
|
+
[4;36;1mPost Load (0.2ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 6) ORDER BY posts.id ASC LIMIT 1[0m
|
263
|
+
[4;35;1mPost Load (0.1ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id > 7) ORDER BY posts.id ASC LIMIT 1[0m
|
264
|
+
[4;36;1mPost Load (1.0ms)[0m [0;1mSELECT * FROM "posts" ORDER BY id asc[0m
|
265
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT count(*) AS count_all FROM "posts" [0m
|
266
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "posts" [0m
|
267
|
+
[4;35;1mPost Load (0.2ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id >= 0) ORDER BY posts.id ASC LIMIT 1[0m
|
268
|
+
[4;36;1mPost Load (0.2ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 1) ORDER BY posts.id ASC LIMIT 1[0m
|
269
|
+
[4;35;1mPost Load (0.2ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id > 2) ORDER BY posts.id ASC LIMIT 1[0m
|
270
|
+
[4;36;1mPost Load (0.2ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 3) ORDER BY posts.id ASC LIMIT 1[0m
|
271
|
+
[4;35;1mPost Load (0.2ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id > 4) ORDER BY posts.id ASC LIMIT 1[0m
|
272
|
+
[4;36;1mPost Load (0.2ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 5) ORDER BY posts.id ASC LIMIT 1[0m
|
273
|
+
[4;35;1mPost Load (0.2ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id > 6) ORDER BY posts.id ASC LIMIT 1[0m
|
274
|
+
[4;36;1mPost Load (0.1ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 7) ORDER BY posts.id ASC LIMIT 1[0m
|
275
|
+
[4;35;1mPost Load (0.7ms)[0m [0mSELECT * FROM "posts" ORDER BY id asc[0m
|
276
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "posts" [0m
|
277
|
+
[4;35;1mPost Load (0.6ms)[0m [0mSELECT * FROM "posts" ORDER BY id asc[0m
|
278
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "posts" [0m
|
279
|
+
[4;35;1mPost Load (0.6ms)[0m [0mSELECT * FROM "posts" ORDER BY id asc[0m
|
280
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "posts" [0m
|
281
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT count(*) AS count_all FROM "posts" [0m
|
282
|
+
[4;36;1mPost Load (0.2ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id >= 0) ORDER BY posts.id ASC LIMIT 1[0m
|
283
|
+
[4;35;1mPost Load (0.2ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id > 1) ORDER BY posts.id ASC LIMIT 1[0m
|
284
|
+
[4;36;1mPost Load (0.2ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 2) ORDER BY posts.id ASC LIMIT 1[0m
|
285
|
+
[4;35;1mPost Load (0.2ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id > 3) ORDER BY posts.id ASC LIMIT 1[0m
|
286
|
+
[4;36;1mPost Load (0.2ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 4) ORDER BY posts.id ASC LIMIT 1[0m
|
287
|
+
[4;35;1mPost Load (0.2ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id > 5) ORDER BY posts.id ASC LIMIT 1[0m
|
288
|
+
[4;36;1mPost Load (0.2ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 6) ORDER BY posts.id ASC LIMIT 1[0m
|
289
|
+
[4;35;1mPost Load (0.1ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id > 7) ORDER BY posts.id ASC LIMIT 1[0m
|
290
|
+
[4;36;1mPost Load (0.6ms)[0m [0;1mSELECT * FROM "posts" ORDER BY id asc[0m
|
291
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT count(*) AS count_all FROM "posts" [0m
|
292
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT count(*) AS count_all FROM "posts" [0m
|
293
|
+
[4;35;1mPost Load (0.2ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id >= 2) ORDER BY posts.id ASC LIMIT 1[0m
|
294
|
+
[4;36;1mPost Load (0.2ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 2) ORDER BY posts.id ASC LIMIT 1[0m
|
295
|
+
[4;35;1mPost Load (0.2ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id > 3) ORDER BY posts.id ASC LIMIT 1[0m
|
296
|
+
[4;36;1mPost Load (0.2ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 4) ORDER BY posts.id ASC LIMIT 1[0m
|
297
|
+
[4;35;1mPost Load (0.2ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id > 5) ORDER BY posts.id ASC LIMIT 1[0m
|
298
|
+
[4;36;1mPost Load (0.2ms)[0m [0;1mSELECT * FROM "posts" WHERE (posts.id > 6) ORDER BY posts.id ASC LIMIT 1[0m
|
299
|
+
[4;35;1mPost Load (0.1ms)[0m [0mSELECT * FROM "posts" WHERE (posts.id > 7) ORDER BY posts.id ASC LIMIT 1[0m
|
300
|
+
[4;36;1mShip Load (0.2ms)[0m [0;1mSELECT * FROM "ships" LIMIT 1[0m
|
301
|
+
[4;35;1mShip Update (0.3ms)[0m [0mUPDATE "ships" SET "name" = 'Maersk Alabama' WHERE "id" = 2[0m
|
302
|
+
[4;36;1mDeveloper Load (0.2ms)[0m [0;1mSELECT * FROM "developers" LIMIT 1[0m
|
303
|
+
[4;35;1mDeveloper Update (0.3ms)[0m [0mUPDATE "developers" SET "name" = 'Jack Bauer', "updated_at" = '2009-04-16 16:45:18' WHERE "id" = 1[0m
|
304
|
+
[4;36;1mDeveloper Load (0.3ms)[0m [0;1mSELECT * FROM "developers" LIMIT 1[0m
|
305
|
+
[4;35;1mDeveloper Update (0.2ms)[0m [0mUPDATE "developers" SET "name" = 'Jack Bauer', "updated_at" = '2009-04-16 16:45:50' WHERE "id" = 1[0m
|
306
|
+
[4;36;1mDeveloper Load (0.2ms)[0m [0;1mSELECT * FROM "developers" LIMIT 1[0m
|
307
|
+
[4;36;1mDeveloper Load (0.2ms)[0m [0;1mSELECT * FROM "developers" LIMIT 1[0m
|
308
|
+
[4;35;1mDeveloper Update (0.3ms)[0m [0mUPDATE "developers" SET "name" = 'Jack Bauer', "updated_at" = '2009-04-16 16:47:14' WHERE "id" = 1[0m
|
309
|
+
[4;36;1mDeveloper Load (0.2ms)[0m [0;1mSELECT * FROM "developers" LIMIT 1[0m
|
310
|
+
[4;35;1mDeveloper Load (0.2ms)[0m [0mSELECT * FROM "developers" LIMIT 1[0m
|
311
|
+
[4;36;1mDeveloper Update (0.2ms)[0m [0;1mUPDATE "developers" SET "updated_at" = '2009-04-16 16:47:14' WHERE "id" = 1[0m
|
312
|
+
[4;36;1mSQL (4.1ms)[0m [0;1m SELECT name
|
313
|
+
FROM sqlite_master
|
314
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
315
|
+
[0m
|
316
|
+
[4;36;1mDeveloper Load (0.4ms)[0m [0;1mSELECT * FROM "developers" LIMIT 1[0m
|
317
|
+
[4;35;1mDeveloper Update (0.3ms)[0m [0mUPDATE "developers" SET "name" = 'Jack Bauer', "updated_at" = '2009-04-16 17:06:16' WHERE "id" = 1[0m
|
318
|
+
[4;36;1mDeveloper Load (0.2ms)[0m [0;1mSELECT * FROM "developers" LIMIT 1[0m
|
319
|
+
[4;35;1mDeveloper Load (0.2ms)[0m [0mSELECT * FROM "developers" LIMIT 1[0m
|
320
|
+
[4;36;1mDeveloper Update (0.2ms)[0m [0;1mUPDATE "developers" SET "created_at" = '2009-04-16 17:06:16', "updated_at" = '2009-04-16 17:06:16' WHERE "id" = 1[0m
|
321
|
+
[4;35;1mDeveloper Load (0.5ms)[0m [0mSELECT * FROM "developers" LIMIT 1[0m
|
322
|
+
[4;36;1mDeveloper Update (0.4ms)[0m [0;1mUPDATE "developers" SET "updated_at" = '2009-04-16 17:06:16' WHERE "id" = 1[0m
|
323
|
+
[4;36;1mDeveloper Load (0.3ms)[0m [0;1mSELECT * FROM "developers" LIMIT 1[0m
|
324
|
+
[4;35;1mDeveloper Update (0.3ms)[0m [0mUPDATE "developers" SET "name" = 'Jack Bauer', "updated_at" = '2009-04-16 17:06:30' WHERE "id" = 1[0m
|
325
|
+
[4;36;1mDeveloper Load (0.2ms)[0m [0;1mSELECT * FROM "developers" LIMIT 1[0m
|
326
|
+
[4;35;1mDeveloper Load (0.2ms)[0m [0mSELECT * FROM "developers" LIMIT 1[0m
|
327
|
+
[4;36;1mDeveloper Update (0.2ms)[0m [0;1mUPDATE "developers" SET "created_at" = '2009-04-16 17:06:30', "updated_at" = '2009-04-16 17:06:30' WHERE "id" = 1[0m
|
328
|
+
[4;35;1mDeveloper Load (0.3ms)[0m [0mSELECT * FROM "developers" LIMIT 1[0m
|
329
|
+
[4;36;1mDeveloper Update (0.4ms)[0m [0;1mUPDATE "developers" SET "updated_at" = '2009-04-16 17:06:30' WHERE "id" = 1[0m
|
330
|
+
[4;36;1mDeveloper Load (0.3ms)[0m [0;1mSELECT * FROM "developers" LIMIT 1[0m
|
331
|
+
[4;35;1mDeveloper Update (0.3ms)[0m [0mUPDATE "developers" SET "name" = 'Jack Bauer', "updated_at" = '2009-04-16 17:07:01' WHERE "id" = 1[0m
|
332
|
+
[4;36;1mDeveloper Load (0.2ms)[0m [0;1mSELECT * FROM "developers" LIMIT 1[0m
|
333
|
+
[4;35;1mDeveloper Load (0.2ms)[0m [0mSELECT * FROM "developers" LIMIT 1[0m
|
334
|
+
[4;36;1mDeveloper Update (0.3ms)[0m [0;1mUPDATE "developers" SET "created_at" = '2009-04-16 17:07:01', "updated_at" = '2009-04-16 17:07:01' WHERE "id" = 1[0m
|
335
|
+
[4;35;1mDeveloper Load (0.2ms)[0m [0mSELECT * FROM "developers" LIMIT 1[0m
|
336
|
+
[4;36;1mDeveloper Update (0.2ms)[0m [0;1mUPDATE "developers" SET "updated_at" = '2009-04-16 17:07:01' WHERE "id" = 1[0m
|
337
|
+
[4;36;1mDeveloper Load (0.2ms)[0m [0;1mSELECT * FROM "developers" LIMIT 1[0m
|
338
|
+
[4;35;1mDeveloper Update (0.2ms)[0m [0mUPDATE "developers" SET "name" = 'Jack Bauer', "updated_at" = '2009-04-16 17:16:43' WHERE "id" = 1[0m
|
339
|
+
[4;36;1mDeveloper Load (0.2ms)[0m [0;1mSELECT * FROM "developers" LIMIT 1[0m
|
340
|
+
[4;35;1mPet Load (0.1ms)[0m [0mSELECT * FROM "pets" LIMIT 1[0m
|
341
|
+
[4;36;1mOwner Load (0.1ms)[0m [0;1mSELECT * FROM "owners" WHERE ("owners"."owner_id" = 1) [0m
|
342
|
+
[4;35;1mDeveloper Load (0.2ms)[0m [0mSELECT * FROM "developers" LIMIT 1[0m
|
343
|
+
[4;36;1mDeveloper Load (0.2ms)[0m [0;1mSELECT * FROM "developers" LIMIT 1[0m
|
344
|
+
[4;35;1mDeveloper Update (0.5ms)[0m [0mUPDATE "developers" SET "created_at" = '2009-04-16 17:16:43', "updated_at" = '2009-04-16 17:16:43' WHERE "id" = 1[0m
|
345
|
+
[4;36;1mDeveloper Load (0.5ms)[0m [0;1mSELECT * FROM "developers" LIMIT 1[0m
|
346
|
+
[4;35;1mDeveloper Update (0.3ms)[0m [0mUPDATE "developers" SET "updated_at" = '2009-04-16 17:16:43' WHERE "id" = 1[0m
|
347
|
+
[4;36;1mDeveloper Load (0.4ms)[0m [0;1mSELECT * FROM "developers" LIMIT 1[0m
|
348
|
+
[4;35;1mDeveloper Update (0.3ms)[0m [0mUPDATE "developers" SET "name" = 'Jack Bauer', "updated_at" = '2009-04-16 17:19:07' WHERE "id" = 1[0m
|
349
|
+
[4;36;1mDeveloper Load (0.2ms)[0m [0;1mSELECT * FROM "developers" LIMIT 1[0m
|
350
|
+
[4;35;1mPet Load (0.1ms)[0m [0mSELECT * FROM "pets" LIMIT 1[0m
|
351
|
+
[4;36;1mOwner Load (0.3ms)[0m [0;1mSELECT * FROM "owners" WHERE ("owners"."owner_id" = 1) [0m
|
352
|
+
[4;35;1mPet Update (0.2ms)[0m [0mUPDATE "pets" SET "name" = 'Fluffy the Third' WHERE "pet_id" = 1[0m
|
353
|
+
[4;36;1mOwner Update (0.2ms)[0m [0;1mUPDATE "owners" SET "happy_at" = '2009-04-16 17:19:07', "updated_at" = '2009-04-16 17:19:07' WHERE "owner_id" = 1[0m
|
354
|
+
[4;35;1mOwner Update (0.1ms)[0m [0mUPDATE "owners" SET "happy_at" = '2009-04-16 17:19:07', "updated_at" = '2009-04-16 17:19:07' WHERE "owner_id" = 1[0m
|
355
|
+
[4;36;1mDeveloper Load (0.2ms)[0m [0;1mSELECT * FROM "developers" LIMIT 1[0m
|
356
|
+
[4;35;1mPet Load (0.1ms)[0m [0mSELECT * FROM "pets" LIMIT 1[0m
|
357
|
+
[4;36;1mOwner Load (0.1ms)[0m [0;1mSELECT * FROM "owners" WHERE ("owners"."owner_id" = 1) [0m
|
358
|
+
[4;35;1mPet Update (0.2ms)[0m [0mUPDATE "pets" SET "name" = 'Fluffy the Third' WHERE "pet_id" = 1[0m
|
359
|
+
[4;36;1mOwner Update (0.1ms)[0m [0;1mUPDATE "owners" SET "updated_at" = '2009-04-16 17:19:07' WHERE "owner_id" = 1[0m
|
360
|
+
[4;35;1mOwner Update (0.1ms)[0m [0mUPDATE "owners" SET "updated_at" = '2009-04-16 17:19:07' WHERE "owner_id" = 1[0m
|
361
|
+
[4;36;1mOwner Update (0.1ms)[0m [0;1mUPDATE "owners" SET "updated_at" = '2009-04-16 17:19:07' WHERE "owner_id" = 1[0m
|
362
|
+
[4;35;1mDeveloper Load (0.2ms)[0m [0mSELECT * FROM "developers" LIMIT 1[0m
|
363
|
+
[4;36;1mDeveloper Load (0.3ms)[0m [0;1mSELECT * FROM "developers" LIMIT 1[0m
|
364
|
+
[4;35;1mDeveloper Update (0.3ms)[0m [0mUPDATE "developers" SET "created_at" = '2009-04-16 17:19:07', "updated_at" = '2009-04-16 17:19:07' WHERE "id" = 1[0m
|
365
|
+
[4;36;1mDeveloper Load (0.2ms)[0m [0;1mSELECT * FROM "developers" LIMIT 1[0m
|
366
|
+
[4;35;1mDeveloper Update (0.3ms)[0m [0mUPDATE "developers" SET "updated_at" = '2009-04-16 17:19:07' WHERE "id" = 1[0m
|
367
|
+
[4;36;1mDeveloper Load (0.2ms)[0m [0;1mSELECT * FROM "developers" LIMIT 1[0m
|
368
|
+
[4;35;1mPet Load (0.1ms)[0m [0mSELECT * FROM "pets" LIMIT 1[0m
|
369
|
+
[4;36;1mOwner Load (0.1ms)[0m [0;1mSELECT * FROM "owners" WHERE ("owners"."owner_id" = 1) [0m
|
370
|
+
[4;35;1mPet Destroy (0.2ms)[0m [0mDELETE FROM "pets" WHERE "pet_id" = 1[0m
|
371
|
+
[4;36;1mDeveloper Load (0.2ms)[0m [0;1mSELECT * FROM "developers" LIMIT 1[0m
|
372
|
+
[4;35;1mDeveloper Update (0.2ms)[0m [0mUPDATE "developers" SET "name" = 'Jack Bauer', "updated_at" = '2009-04-16 17:20:53' WHERE "id" = 1[0m
|
373
|
+
[4;36;1mDeveloper Load (0.2ms)[0m [0;1mSELECT * FROM "developers" LIMIT 1[0m
|
374
|
+
[4;35;1mPet Load (0.1ms)[0m [0mSELECT * FROM "pets" LIMIT 1[0m
|
375
|
+
[4;36;1mOwner Load (0.1ms)[0m [0;1mSELECT * FROM "owners" WHERE ("owners"."owner_id" = 1) [0m
|
376
|
+
[4;35;1mPet Update (0.2ms)[0m [0mUPDATE "pets" SET "name" = 'Fluffy the Third' WHERE "pet_id" = 1[0m
|
377
|
+
[4;36;1mOwner Update (0.1ms)[0m [0;1mUPDATE "owners" SET "happy_at" = '2009-04-16 17:20:53', "updated_at" = '2009-04-16 17:20:53' WHERE "owner_id" = 1[0m
|
378
|
+
[4;35;1mOwner Update (0.1ms)[0m [0mUPDATE "owners" SET "happy_at" = '2009-04-16 17:20:53', "updated_at" = '2009-04-16 17:20:53' WHERE "owner_id" = 1[0m
|
379
|
+
[4;36;1mDeveloper Load (0.3ms)[0m [0;1mSELECT * FROM "developers" LIMIT 1[0m
|
380
|
+
[4;35;1mPet Load (0.1ms)[0m [0mSELECT * FROM "pets" LIMIT 1[0m
|
381
|
+
[4;36;1mOwner Load (0.1ms)[0m [0;1mSELECT * FROM "owners" WHERE ("owners"."owner_id" = 1) [0m
|
382
|
+
[4;35;1mPet Update (0.2ms)[0m [0mUPDATE "pets" SET "name" = 'Fluffy the Third' WHERE "pet_id" = 1[0m
|
383
|
+
[4;36;1mOwner Update (0.1ms)[0m [0;1mUPDATE "owners" SET "updated_at" = '2009-04-16 17:20:53' WHERE "owner_id" = 1[0m
|
384
|
+
[4;35;1mOwner Update (0.1ms)[0m [0mUPDATE "owners" SET "updated_at" = '2009-04-16 17:20:53' WHERE "owner_id" = 1[0m
|
385
|
+
[4;36;1mOwner Update (0.1ms)[0m [0;1mUPDATE "owners" SET "updated_at" = '2009-04-16 17:20:53' WHERE "owner_id" = 1[0m
|
386
|
+
[4;35;1mDeveloper Load (0.2ms)[0m [0mSELECT * FROM "developers" LIMIT 1[0m
|
387
|
+
[4;36;1mDeveloper Load (0.2ms)[0m [0;1mSELECT * FROM "developers" LIMIT 1[0m
|
388
|
+
[4;35;1mDeveloper Update (0.2ms)[0m [0mUPDATE "developers" SET "created_at" = '2009-04-16 17:20:53', "updated_at" = '2009-04-16 17:20:53' WHERE "id" = 1[0m
|
389
|
+
[4;36;1mDeveloper Load (0.2ms)[0m [0;1mSELECT * FROM "developers" LIMIT 1[0m
|
390
|
+
[4;35;1mDeveloper Update (0.2ms)[0m [0mUPDATE "developers" SET "updated_at" = '2009-04-16 17:20:53' WHERE "id" = 1[0m
|
391
|
+
[4;36;1mDeveloper Load (0.2ms)[0m [0;1mSELECT * FROM "developers" LIMIT 1[0m
|
392
|
+
[4;35;1mPet Load (0.2ms)[0m [0mSELECT * FROM "pets" LIMIT 1[0m
|
393
|
+
[4;36;1mOwner Load (0.1ms)[0m [0;1mSELECT * FROM "owners" WHERE ("owners"."owner_id" = 1) [0m
|
394
|
+
[4;35;1mPet Destroy (0.3ms)[0m [0mDELETE FROM "pets" WHERE "pet_id" = 1[0m
|
395
|
+
[4;36;1mOwner Update (0.1ms)[0m [0;1mUPDATE "owners" SET "updated_at" = '2009-04-16 17:21:31' WHERE "owner_id" = 1[0m
|
396
|
+
[4;35;1mDeveloper Load (0.3ms)[0m [0mSELECT * FROM "developers" LIMIT 1[0m
|
397
|
+
[4;36;1mDeveloper Update (0.3ms)[0m [0;1mUPDATE "developers" SET "name" = 'Jack Bauer', "updated_at" = '2009-04-16 17:21:31' WHERE "id" = 1[0m
|
398
|
+
[4;35;1mDeveloper Load (0.3ms)[0m [0mSELECT * FROM "developers" LIMIT 1[0m
|
399
|
+
[4;36;1mPet Load (0.1ms)[0m [0;1mSELECT * FROM "pets" LIMIT 1[0m
|
400
|
+
[4;35;1mOwner Load (0.1ms)[0m [0mSELECT * FROM "owners" WHERE ("owners"."owner_id" = 1) [0m
|
401
|
+
[4;36;1mPet Update (0.2ms)[0m [0;1mUPDATE "pets" SET "name" = 'Fluffy the Third' WHERE "pet_id" = 1[0m
|
402
|
+
[4;35;1mOwner Update (0.1ms)[0m [0mUPDATE "owners" SET "happy_at" = '2009-04-16 17:21:31', "updated_at" = '2009-04-16 17:21:31' WHERE "owner_id" = 1[0m
|
403
|
+
[4;36;1mOwner Update (0.1ms)[0m [0;1mUPDATE "owners" SET "happy_at" = '2009-04-16 17:21:31', "updated_at" = '2009-04-16 17:21:31' WHERE "owner_id" = 1[0m
|
404
|
+
[4;35;1mDeveloper Load (0.3ms)[0m [0mSELECT * FROM "developers" LIMIT 1[0m
|
405
|
+
[4;36;1mPet Load (0.2ms)[0m [0;1mSELECT * FROM "pets" LIMIT 1[0m
|
406
|
+
[4;35;1mOwner Load (0.1ms)[0m [0mSELECT * FROM "owners" WHERE ("owners"."owner_id" = 1) [0m
|
407
|
+
[4;36;1mPet Update (0.3ms)[0m [0;1mUPDATE "pets" SET "name" = 'Fluffy the Third' WHERE "pet_id" = 1[0m
|
408
|
+
[4;35;1mOwner Update (0.1ms)[0m [0mUPDATE "owners" SET "updated_at" = '2009-04-16 17:21:31' WHERE "owner_id" = 1[0m
|
409
|
+
[4;36;1mOwner Update (0.1ms)[0m [0;1mUPDATE "owners" SET "updated_at" = '2009-04-16 17:21:31' WHERE "owner_id" = 1[0m
|
410
|
+
[4;35;1mOwner Update (0.1ms)[0m [0mUPDATE "owners" SET "updated_at" = '2009-04-16 17:21:31' WHERE "owner_id" = 1[0m
|
411
|
+
[4;36;1mDeveloper Load (0.3ms)[0m [0;1mSELECT * FROM "developers" LIMIT 1[0m
|
412
|
+
[4;35;1mDeveloper Load (0.2ms)[0m [0mSELECT * FROM "developers" LIMIT 1[0m
|
413
|
+
[4;36;1mDeveloper Update (0.2ms)[0m [0;1mUPDATE "developers" SET "created_at" = '2009-04-16 17:21:31', "updated_at" = '2009-04-16 17:21:31' WHERE "id" = 1[0m
|
414
|
+
[4;35;1mDeveloper Load (0.2ms)[0m [0mSELECT * FROM "developers" LIMIT 1[0m
|
415
|
+
[4;36;1mDeveloper Update (0.2ms)[0m [0;1mUPDATE "developers" SET "updated_at" = '2009-04-16 17:21:31' WHERE "id" = 1[0m
|