Sha256: 89f42628e180369c9d9263a8f9ca95aea955c5335180e1294a61be89d4e1d09f
Contents?: true
Size: 871 Bytes
Versions: 1
Compression:
Stored size: 871 Bytes
Contents
# # frozen_string_literal: true # A.message({ action: :insert, data: { table: :security, particle: :password, data: 'my_pass'} }) A.message({ action: :insert, data: { table: :identity, particle: :name, data: 'jeezs' } }) do |data_received_from_server| puts "my first insert #{data_received_from_server}" end A.message({ action: :query, data: { table: :identity } }) do |data_received_from_server| puts "another insert : #{data_received_from_server}" end A.message({ action: :query, data: { table: :identity } }) do |data_received| puts "received : #{data_received}" end A.message({ action: :insert, data: { table: :identity, particle: :name, data: 'jeezs' } }) do |result| puts "insert done : #{result}" end A.message({ action: :insert, data: { table: :identity, particle: :name, data: 'jeezs' } }) do |result| puts "last message received: #{result}" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
atome-0.5.6.2.0 | vendor/assets/application/examples/database_handling.rb |