Skip to content

Commit

Permalink
removed prints
Browse files Browse the repository at this point in the history
  • Loading branch information
josephmancuso committed Jan 4, 2024
1 parent 1492f7a commit 7297bac
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/masoniteorm/connections/BaseConnection.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ def statement(self, query, bindings=()):
raise AttributeError(
f"Must set the _cursor attribute on the {self.__class__.__name__} class before calling the 'statement' method."
)
print('qq', query, bindings)
self._cursor.execute(query, bindings)
end = "{:.2f}".format(timer() - start)

Expand Down
2 changes: 0 additions & 2 deletions src/masoniteorm/query/QueryBuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -1454,8 +1454,6 @@ def update(
elif not updates:
# Do not perform query if there are no updates
return self

print('ooo', updates)

self._updates = (UpdateQueryExpression(updates),)
self.set_action("update")
Expand Down
3 changes: 0 additions & 3 deletions src/masoniteorm/scopes/TimeStampsScope.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,9 @@ def set_timestamp_update(self, builder):
if not builder._model.__timestamps__:
return builder

print(builder._updates[0])
for update in builder._updates:
if builder._model.date_updated_at in update.column:
print("not updating this is right")
return
print("still updating. this is wrong")
builder._updates += (
UpdateQueryExpression(
{
Expand Down

0 comments on commit 7297bac

Please sign in to comment.