Question

How to search for binary files (images, pdfs etc) whose size are bigger than some amount?
Theoretically the query should look like
select * from nt:base where Image.Length>100000

Answer, Resolution

The size of the binary files are not calculated automatically, so in order to run a query like that you need to pre-populate your content with an additional property where you save the size of your binary file.

Note:The length property for binary data is specified in the new JSR 283.

Šis darbs ir licencēts saskaņā ar Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported licenci  Uz portālā Twitter™ un Facebook izvietotajiem ziņojumiem neattiecas Creative Commons sistēmas noteikumi.

Juridisks paziņojums   |   Tiešsaistes konfidencialitātes politika