Skip to content

Commit

Permalink
Fix indents.
Browse files Browse the repository at this point in the history
  • Loading branch information
Relintai committed Apr 27, 2024
1 parent 3dfa9bd commit 956bc0e
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions modules/database/doc_classes/PreparedStatement.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@
print("Inserting 10 values!")

for i in range(10):
ps.reset()
ps.reset()

ps.bind_text(1, "vc" + str(randi()))
ps.bind_text(2, "text" + str(randi()))
ps.bind_int(3, randi())
ps.bind_double(4, randf() * 100000)
ps.step()
ps.bind_text(1, "vc" + str(randi()))
ps.bind_text(2, "text" + str(randi()))
ps.bind_int(3, randi())
ps.bind_double(4, randf() * 100000)
ps.step()
[/code]
Usge example using [QueryBuilder]:
[code]
Expand All @@ -44,13 +44,13 @@
print("Inserting 10 values!")

for i in range(10):
ps.reset()
ps.reset()

ps.bind_text(1, "vc" + str(randi()))
ps.bind_text(2, "text" + str(randi()))
ps.bind_int(3, randi())
ps.bind_double(4, randf() * 100000)
ps.step()
ps.bind_text(1, "vc" + str(randi()))
ps.bind_text(2, "text" + str(randi()))
ps.bind_int(3, randi())
ps.bind_double(4, randf() * 100000)
ps.step()
[/code]
</description>
<tutorials>
Expand Down

0 comments on commit 956bc0e

Please sign in to comment.