Posts

Showing posts with the label Crypto

Beyond Bitcoin: The Surprising Ways Cryptocurrency and Blockchain are Being Used Today

Image
What is crypto currency? Cryptocurrency is like a special kind of money that can be used to buy things on the internet. It's like regular money, but it's digital and can be sent to people all over the world using computers. It's kind of like how we use toy money to buy things in a pretend store, but it's real money that grown-ups use. Just like how we have coins and paper money, there are different types of cryptocurrency like Bitcoin, Ethereum, and Litecoin. It's important to always be safe when using it and to never share personal information with strangers online. What problems they solve? Cryptocurrency aims to solve a number of issues with traditional forms of currency and the financial system, including: Decentralization: Cryptocurrency is based on a decentralized system, meaning that it is not controlled by any government or central authority. This means that transactions can be made directly between individuals, without the need for intermediaries like banks...

Dynamically Pass Bind Variables to a SOQL Query - salesforce release'23

  With the new  Database.queryWithBinds ,  Database.getQueryLocatorWithBinds , and  Database.countQueryWithBinds  methods, the bind variables in the query are resolved from a Map parameter directly with a key rather than from Apex code variables. As a result, it’s not necessary for the variables to be in scope when the query is executed. Where:  This change applies to Lightning Experience and Salesforce Classic in Enterprise, Performance, Unlimited, and Developer editions. How:  In this example, the SOQL query uses a bind variable for an Account name. Its value ( Acme Corporation ) is passed in using the  acctBinds  Map. Map<String, Object> acctBinds = new Map<String, Object>{'acctName' => 'Acme Corporation'}; List<Account> accts = Database.queryWithBinds('SELECT Id FROM Account WHERE Name = :acctName', acctBinds, AccessLevel.USER_MODE); SEE ALSO