mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-03 01:19:38 +01:00
Fix indents.
This commit is contained in:
parent
3dfa9bd7e8
commit
956bc0e9a0
@ -23,13 +23,13 @@
|
|||||||
print("Inserting 10 values!")
|
print("Inserting 10 values!")
|
||||||
|
|
||||||
for i in range(10):
|
for i in range(10):
|
||||||
ps.reset()
|
ps.reset()
|
||||||
|
|
||||||
ps.bind_text(1, "vc" + str(randi()))
|
ps.bind_text(1, "vc" + str(randi()))
|
||||||
ps.bind_text(2, "text" + str(randi()))
|
ps.bind_text(2, "text" + str(randi()))
|
||||||
ps.bind_int(3, randi())
|
ps.bind_int(3, randi())
|
||||||
ps.bind_double(4, randf() * 100000)
|
ps.bind_double(4, randf() * 100000)
|
||||||
ps.step()
|
ps.step()
|
||||||
[/code]
|
[/code]
|
||||||
Usge example using [QueryBuilder]:
|
Usge example using [QueryBuilder]:
|
||||||
[code]
|
[code]
|
||||||
@ -44,13 +44,13 @@
|
|||||||
print("Inserting 10 values!")
|
print("Inserting 10 values!")
|
||||||
|
|
||||||
for i in range(10):
|
for i in range(10):
|
||||||
ps.reset()
|
ps.reset()
|
||||||
|
|
||||||
ps.bind_text(1, "vc" + str(randi()))
|
ps.bind_text(1, "vc" + str(randi()))
|
||||||
ps.bind_text(2, "text" + str(randi()))
|
ps.bind_text(2, "text" + str(randi()))
|
||||||
ps.bind_int(3, randi())
|
ps.bind_int(3, randi())
|
||||||
ps.bind_double(4, randf() * 100000)
|
ps.bind_double(4, randf() * 100000)
|
||||||
ps.step()
|
ps.step()
|
||||||
[/code]
|
[/code]
|
||||||
</description>
|
</description>
|
||||||
<tutorials>
|
<tutorials>
|
||||||
|
Loading…
Reference in New Issue
Block a user