How to check if result of request to DB is empty?

Suliman via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Dec 12 04:06:21 PST 2015


On Saturday, 12 December 2015 at 11:53:51 UTC, Suliman wrote:
> On Saturday, 12 December 2015 at 11:31:18 UTC, Suliman wrote:
>> Oh sorry! I used wrong host! All ok!
>
> Yes, there was issue with host name, but it's do not solve 
> problem. Second DB have same fields and I still getting false 
> instead moving into while loop

It's look like it do `next` step before return something.
So if in DB 1 value it will work like:
do step
if no value after it --> return false
if yes --> return true

but I need any way to check if first value in DB is exists. Any 
suggestion?


More information about the Digitalmars-d-learn mailing list