question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bitwise Operators

See original GitHub issue

Hi, It would be great to have support for bitwise operators.

In the SQL parser syntax page it seems that there is plan for it already :

| <BIT_AND: "&">
| <BIT_OR: "|">
| <XOR: "^">

But I couldn’t find any issues or information about it ? Are you planning to support it ?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:12 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
luigidellaquilacommented, Jul 31, 2017

It’s already implemented in v 3.0.0 M2 and will be released with the GA

Docs here http://orientdb.com/docs/3.0.x/sql/SQL-Syntax.html

Thanks

Luigi

0reactions
luigidellaquilacommented, Nov 16, 2018

A quick work-around is the following:

octet2dec(mode).asInteger() & 0170000

Thanks

Luigi

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bitwise operation - Wikipedia
In computer programming, a bitwise operation operates on a bit string, a bit array or a binary numeral at the level of its...
Read more >
Bitwise Operators in C/C++ - GeeksforGeeks
The | (bitwise OR) in C or C++ takes two numbers as operands and does OR on every bit of two numbers. The...
Read more >
Bitwise Operators in C Programming - Programiz
In this tutorial you will learn about all 6 bitwise operators in C ... To perform bit-level operations in C programming, bitwise operators...
Read more >
Bitwise AND (&) - JavaScript - MDN Web Docs
The bitwise AND ( & ) operator returns a 1 in each bit position for which the corresponding bits of both operands are...
Read more >
Bitwise Operators in C - Tutorialspoint
Bitwise Operators in C, The following table lists the Bitwise operators supported by C. Assume variable 'A' holds 60 and variable 'B' holds...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found